WIP
This commit is contained in:
parent
6d32ffb76b
commit
c01f93f62c
14
js/prefs.js
14
js/prefs.js
|
@ -319,13 +319,13 @@ var prefs = new function Prefs() {
|
|||
return;
|
||||
|
||||
function doBroadcast() {
|
||||
if (BG && BG === window && !BG.dbExec.initialized) {
|
||||
window.addEventListener('storageReady', function _() {
|
||||
window.removeEventListener('storageReady', _);
|
||||
doBroadcast();
|
||||
});
|
||||
return;
|
||||
}
|
||||
// if (BG && BG === window && !BG.dbExec.initialized) {
|
||||
// window.addEventListener('storageReady', function _() {
|
||||
// window.removeEventListener('storageReady', _);
|
||||
// doBroadcast();
|
||||
// });
|
||||
// return;
|
||||
// }
|
||||
const affects = {
|
||||
all: 'disableAll' in broadcastPrefs
|
||||
|| 'exposeIframes' in broadcastPrefs,
|
||||
|
|
|
@ -31,6 +31,9 @@
|
|||
"js/prefs.js",
|
||||
"js/script-loader.js",
|
||||
"js/usercss.js",
|
||||
"js/cache.js",
|
||||
"background/db.js",
|
||||
"background/style-manager.js",
|
||||
"background/background.js",
|
||||
"background/usercss-helper.js",
|
||||
"background/style-via-api.js",
|
||||
|
|
Loading…
Reference in New Issue
Block a user