WDA wrote:

> How does one turn off the use of Javascript in Mozilla?  I've seen it 
> and now can't find it.  I'm tired of all these windows popping up on 
> my screen.  It is sort of like people visiting on Sunday unannounced.  
> In other words - rude.

Do you mean:

// Use configurable security policies to override popups, see
// http://www.mozilla.org/projects/security/components/configPolicy.html
// Turn window.open off for particular sites:
user_pref("capability.policy.popupsites.sites", "http://www.annoyingsite1.com 
http://www.popupsite2.com";);
user_pref("capability.policy.popupsites.Window.open","noAccess");
// Or turn it off everywhere:
user_pref("capability.policy.default.Window.open","noAccess");

// More important, disable JS windows popping up a new window on load
// (as lots of porn and spam sites do):
user_pref("dom.disable_open_during_load", true);

// Override popping up new windows on target=anything
user_pref("browser.target_new_blocked", true);

from the Customizing Mozilla page( http://www.mozilla.org/unix/customizing.html )... 
Turning off javascript completely will break a whole lot more than popup windows...




Reply via email to