![]() |
Selectively disable JavaScript in MicroB !
Hey, I think I found something interesting for speeding up Microb.
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 : Code:
user_pref("capability.policy.policynames", "jsok"); Sorry if it has already been posted on the forum (yes I did a search !). |
Re: Selectively disable JavaScript in MicroB !
Good find! It shouldn't be to hard to whip up a small app for changing those settings graphically...anyone?
|
Re: Selectively disable JavaScript in MicroB !
On line :
Code:
user_pref("capability.policy.jsok.sites", "https://www.google.com"); Code:
user_pref("capability.policy.jsok.sites", "http://site1 http://site2 http://site3 http://site4"); |
All times are GMT. The time now is 11:05. |
vBulletin® Version 3.8.8