user.js

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 2969ab5b13bee198107d4b7371e100410d88c9c5
parent 3405bae6d845bec9a5909f72e1a0b5b2b9da6603
Author: Thorin-Oakenpants <Thorin-Oakenpants@users.noreply.github.com>
Date:   Sat,  3 Feb 2018 03:56:16 +0000

added 2305: default permission Notifications
Diffstat:
Muser.js | 11+++++++----
1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/user.js b/user.js @@ -1091,11 +1091,14 @@ user_pref("dom.workers.enabled", false); * [NOTE] Service workers only run over HTTPS. Service Workers have no DOM access. ***/ user_pref("dom.serviceWorkers.enabled", false); /* 2304: disable web notifications - * [NOTE] You can still override individual domains under site permissions (FF44+) * [1] https://developer.mozilla.org/docs/Web/API/Notifications_API ***/ -user_pref("dom.webnotifications.enabled", false); -user_pref("dom.webnotifications.serviceworker.enabled", false); -/* 2305: disable push notifications (FF44+) +user_pref("dom.webnotifications.enabled", false); // (FF22+) +user_pref("dom.webnotifications.serviceworker.enabled", false); // (FF44+) +/* 2305: set a default permission for Notifications (see 2304) (FF58+) + * [SETTING] to add site exceptions: Page Info>Permissions>Receive Notifications + * [SETTING] to manage site exceptions: Options>Privacy>Permissions>Notifications>Settings ***/ + // user_pref("permissions.default.desktop-notification", 2); // 0=always ask (default), 1=allow, 2=block +/* 2306: disable push notifications (FF44+) * web apps can receive messages pushed to them from a server, whether or * not the web app is in the foreground, or even currently loaded * [1] https://developer.mozilla.org/docs/Web/API/Push_API ***/