Living without Privoxy

Thomas Sjögren thomas at northernsecurity.net
Sun May 22 23:15:11 UTC 2005


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
-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: Digital signature
URL: <http://lists.torproject.org/pipermail/tor-talk/attachments/20050523/4e56406b/attachment.pgp>


More information about the tor-talk mailing list