Window Open Features: Restrict and Test
Are you also annoyed by websites that open popups and external windows without your menu bar? And without scrollbars and no close button and … and .. and..
Restrict Window Open Features
Don’t worry, you can disable these “features”!
In Firefox, open about:config and search for dom.disable_window_open_feature
(see @azure’s pleroma post).
Full documentation on these settings are available through MozillaZine.
These preferences can also be set (and locked) system wide, which may be useful for multi-user and multi-system environments
Test Window Open Features
Mozilla’s Developer portal has a documentation on possible Window Open Features. There you can learn which features are available, what they mean, and how to set them.
Testing is then pretty easy. The following checkboxes allow for enabling/disabling most useful window features. If a box is ticked, the corresponding feature will be set; if it’s unticked the feature will be turned off. You can then click the link below to test how your browser behaves when opening this blog using the chosen set of features.
TEST NOW: Open binfalse.de using above settings.
The test should be browser independent, you just need to have Javascript enabled. However, let me know if it doesn’t work for you!
To see how I implemented the test tool take a look into the source code of this page, or check the script on GitHub. Remember? This blog is all open source :)
- administration (43) ,
- config (7) ,
- howto (27) ,
- javascript (16) ,
- html (8) ,
- programming (16) ,
- software (160) ,
- website (22) ,
- web (86)
- javascript (2) ,
- mozilla (2) ,
- demo (1) ,
- config (21) ,
- firefox (14) ,
- programming (75) ,
- trick (61) ,
- userinteraction (30) ,
- web (8)
Leave a comment
There are multiple options to leave a comment:
- send me an email
- submit a comment through the feedback page (anonymously via TOR)
- Fork this repo at GitHub, add your comment to the _data/comments directory and send me a pull request
- Fill the following form and Staticman will automagically create a pull request for you:
1 comment
Moin! It looks like that this feature is not valid anymore for the recent FF 80. The new location in
about:config
is:browser.link.open_newwindow.restriction
. Set it to (zero)0
. Done.Grüße Mr.T