[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: Living without Privoxy

On Sun, May 22, 2005 at 11:31:32PM +0100, Adam Langley wrote:
> (Note: there are still many issues unaddressed with browsers in
> general, mostly relating to Javascript).

You can use policies in Firefox to disable javascript and create a
whitelist of sites:
Add the following to user.js in your profile directory, you might need to
create the file. The following code will allow cnn.com and bbc.co.uk to
use javascript and disable it for any other site. [0]

# javascript whitelist
user_pref("capability.policy.policynames", "whitelist");
user_pref("capability.policy.default.javascript.enabled", "noAccess");
user_pref("capability.policy.whitelist.sites", "http://www.cnn.com

If you don't like manual editing, you might be interested in NoScript[1]

[0] http://www.northernsecurity.net/articles/peas.html or
[1] http://www.noscript.net


Attachment: signature.asc
Description: Digital signature