Popup blocker for Netscape 7

While you might have been enjoying the wonder of Mozilla's popup-ad-blocker, pity the poor AOL user. The version of Netscape 7 that AOL users are provided with has had the preference item that allows for popup-bocking disabled by the AOL/Time-Warner/Netscape mothership.

No sweat. Hack a couple of lines into your preferences file and Netscape 7 will block popups just as well as Mozilla!

Make a backup of pref.js. Edit pref.js with a text editor and insert one of the following (don't insert the expanations after the line of code):

user_pref("capability.policy.default.Window.open","noAccess");
— will cut off all popup windows

user_pref("dom.disable_open_during_load", true);
— will cut off popup windows only when a page is loading

user_pref("browser.block.target_new_window", true);
— will "override popping up new windows on target=anything"

Save prefs.js and restart Netscape 7.0 PR1. You could try each one of these and see which works the best for you.

Link

Discuss

(Thanks, cel4145!)