2200s: tweaks

This commit is contained in:
earthlng 2018-03-26 18:01:30 +02:00 committed by Thorin-Oakenpants
parent 383b8ca943
commit 3fcad90996

View File

@ -1079,17 +1079,17 @@ user_pref("browser.link.open_newwindow", 3);
* [TEST] https://people.torproject.org/~gk/misc/entire_desktop.html * [TEST] https://people.torproject.org/~gk/misc/entire_desktop.html
* [1] https://trac.torproject.org/projects/tor/ticket/9881 ***/ * [1] https://trac.torproject.org/projects/tor/ticket/9881 ***/
user_pref("browser.link.open_newwindow.restriction", 0); user_pref("browser.link.open_newwindow.restriction", 0);
/* 2206: disable Fullscreen API [SETUP] /* 2206: disable Fullscreen API to prevent screen-resolution leaks [SETUP]
* [NOTE] You can still manually toggle the browser's fullscreen state (F11), * [NOTE] You can still manually toggle the browser's fullscreen state (F11),
* but this pref will disable embedded video/game fullscreen controls, e.g. youtube * but this pref will disable embedded video/game fullscreen controls, e.g. youtube
* [TEST] https://developer.mozilla.org/samples/domref/fullscreen.html ***/ * [TEST] https://developer.mozilla.org/samples/domref/fullscreen.html ***/
user_pref("full-screen-api.enabled", false); user_pref("full-screen-api.enabled", false);
/* 2207: block popup windows /* 2210: block popup windows
* [SETTING] Options>Privacy & Security>Permissions>Block pop-up windows ***/ * [SETTING] Options>Privacy & Security>Permissions>Block pop-up windows ***/
user_pref("dom.disable_open_during_load", true); user_pref("dom.disable_open_during_load", true);
/* 2208 set max popups from a single non-click event - default is 20! ***/ /* 2211: set max popups from a single non-click event - default is 20! ***/
user_pref("dom.popup_maximum", 3); user_pref("dom.popup_maximum", 3);
/* 2209: limit events that can cause a popup /* 2212: limit events that can cause a popup
* default is "change click dblclick mouseup pointerup notificationclick reset submit touchend" * default is "change click dblclick mouseup pointerup notificationclick reset submit touchend"
* [1] http://kb.mozillazine.org/Dom.popup_allowed_events ***/ * [1] http://kb.mozillazine.org/Dom.popup_allowed_events ***/
user_pref("dom.popup_allowed_events", "click dblclick"); user_pref("dom.popup_allowed_events", "click dblclick");