Blocking JS with Privoxy
Posted: 2018-11-12, 21:17
How can I block Javascript with Privoxy? I'm pretty sure I need to use a filter, but +filter{*.js} and +filter{*javascript*} didn't work.
I'm trying to block JS by default and then whitelist scripts. I don't want to use add-ons.
Edit: +filter{whatever} is just the filter label; I see now that I have to define the filtering rule separately (using regular expressions) from the label. My problem is that I'm not sure what the rule should be. The *.js and *javascript* were guesses about the rule.
I'm trying to block JS by default and then whitelist scripts. I don't want to use add-ons.
Edit: +filter{whatever} is just the filter label; I see now that I have to define the filtering rule separately (using regular expressions) from the label. My problem is that I'm not sure what the rule should be. The *.js and *javascript* were guesses about the rule.