Athlon1600 / php-proxy

A web proxy script written in PHP and built as an alternative to Glype.
https://www.php-proxy.com
MIT License
296 stars 158 forks source link

Enabling Javascript for specific websites #94

Closed schlarmanorg closed 6 years ago

schlarmanorg commented 6 years ago

So say I only want JavaScript to work on Google or maybe Reddit, I have tried this: $config['js_remove'] = array( 'twitter.com', 'reddit.com', 'youtube.com', 'www.google.com' ); In the Config.php file. It doesn't seem to do anything at all.

Athlon1600 commented 6 years ago

Javascript is enabled by default on ALL sites. The reason javascript is not working for you on reddit for example, is because reddit is probably too complex to "proxify" so scripting will be functioning properly on such sites. You would need to check your browser's developer console to see what's happening.