[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
http://www.bbc.co.uk";);
user_pref("capability.policy.whitelist.javascript.enabled",
"allAccess");

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

[0] http://www.northernsecurity.net/articles/peas.html or
http://www.mozilla.org/projects/security/components/ConfigPolicy.html
[1] http://www.noscript.net

/Thomas
-- 

Attachment: signature.asc
Description: Digital signature