The Following 14 Users Say Thank You to lbalogh For This Useful Post: | ||
![]() |
2008-10-19
, 10:43
|
Posts: 566 |
Thanked: 150 times |
Joined on Dec 2007
|
#2
|
![]() |
2008-10-19
, 13:16
|
Posts: 13 |
Thanked: 20 times |
Joined on Aug 2008
@ Switzerland
|
#3
|
user_pref("capability.policy.jsok.sites", "https://www.google.com");
user_pref("capability.policy.jsok.sites", "http://site1 http://site2 http://site3 http://site4");
The Following User Says Thank You to lbalogh For This Useful Post: | ||
![]() |
Tags |
browser, javascript, microb, speed |
Thread Tools | |
|
As we don't have (yet) a NoScript extension to block JavaScript, there is an other way. This page :
http://www.mozilla.org/projects/secu...figPolicy.html
describe how to use configurable security policies to selectively define which JavaScript functions a specific site (or list of site) can call.
There is one exemple that disable JavaScript on ALL sites but some we can define. For example I added this to my ~/.mozilla/microb/prefs.js :
Sorry if it has already been posted on the forum (yes I did a search !).
Last edited by lbalogh; 2008-10-19 at 09:40.