THIS IS A STATIC MIRROR OF USERSCRIPTS.ORG - LOGINS DO NOT WORK

Nice Popups

By Watilin Last update Jan 16, 2014 — Installed 369 times.

Script Summary: Removes archaic popup features like "resizable=no", "menurbar=no", etc. The About page contains useful info. Read it!



Version: 1.0.1

License: Public Domain

A very simple script that I made because I’ve had enough with old-school fashioned popups.

Alternate solution

Firefox icon Firefox only
As my experience of the web has been growing, I figured out that sometimes, some of the popup features are convenient. Besides, I found a way to control more accurately those features if you’re using Firefox. It’s a solution based on the user.js file. You can read more information about this file [here](http://kb.mozillazine.org/User.js_file).

So here are the lines I added in my own user.js file:

// disables annoying popup features    
user_pref("dom.disable_window_flip",                     true);    
user_pref("dom.disable_window_open.feature.close",       true);    
user_pref("dom.disable_window_open.feature.location",    true);    
user_pref("dom.disable_window_open.feature.menubar",     true);    
user_pref("dom.disable_window_open.feature.minimizable", true);    
user_pref("dom.disable_window_open.feature.personalbar", true);    
user_pref("dom.disable_window_open.feature.status",      true);    
user_pref("dom.disable_window_open.feature.titlebar",    true);    
user_pref("dom.disable_window_open.feature.toolbar",     true);    
user_pref("dom.disable_window_open.feature.scrollbars",  true);    

// maybe these ones are useful    
user_pref("dom.disable_window_move_resize",              false);    
user_pref("dom.disable_window_open.feature.resizable",   false);

Please note that this solution replaces my userscript, so be sure to uninstall it to avoid some weird popup behavior.