php-proxy icon indicating copy to clipboard operation
php-proxy copied to clipboard

Baidu.com issue

Open webaddicto opened this issue 7 years ago • 2 comments

With PR https://github.com/Athlon1600/php-proxy/pull/47 now baidu.com works fine, but there is a strange issue when clicking on search results.

For example, if I search for "php-proxy" and I click on the first link found, the content of the HTML page that contains two redirects (one via location.replace() and one via meta refresh) is not filtered via ProxifyPlugin. It looks like if it is ignored or if it is too early that OnCompleted() event can't catch it. See this image:

baidu-issue

webaddicto avatar Feb 13 '17 15:02 webaddicto

Related to #43

bateller avatar Apr 03 '17 17:04 bateller

meta refresh issue is now fixed: https://github.com/Athlon1600/php-proxy/commit/f182fd063b3c432c1b02e4d7dc9869a63a9c12fb

As far as Javascript problems, I would just disable javascript entirely for baidu.com from your config.php file like this:

$config['js_remove'] = array('baidu.com');

Athlon1600 avatar Apr 04 '17 00:04 Athlon1600