MozillaZine

Mozilla Installation and Setup Checklist

Tuesday September 3rd, 2002

Dave writes: "I have an article on how to install and do some 'must-have' basic configuration at http://users.rcn.com/djgoodwin/moz.html. This might be useful for beginners or as a checklist for Mozilla fans installing the browser for friends."


#9 Wrong prefs

by jonasj

Wednesday September 4th, 2002 8:14 AM

You are replying to this message

> // Advanced -> Scripts & Windows -> Allow scripts to: Open unrequested windows - off > user_pref("capability.policy.default.Window.open", "noAccess");

No, that pref blocks window.open() everywhere, including when you click a link. To block only unrequested windows, you want user_pref("dom.disable_open_during_load", true);

> // Advanced -> Scripts & Windows -> Allow scripts to: Open a link in a new window (requires restarting Mozilla) - off > user_pref("dom.disable_open_during_load", true);

No. To prevent web pages frmo making pages open in a new window (in other words: override target="_blank"), you use user_pref("browser.block.target_new_window", true);