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;
|
return;
|
||||||
|
|
||||||
function doBroadcast() {
|
function doBroadcast() {
|
||||||
if (BG && BG === window && !BG.dbExec.initialized) {
|
// if (BG && BG === window && !BG.dbExec.initialized) {
|
||||||
window.addEventListener('storageReady', function _() {
|
// window.addEventListener('storageReady', function _() {
|
||||||
window.removeEventListener('storageReady', _);
|
// window.removeEventListener('storageReady', _);
|
||||||
doBroadcast();
|
// doBroadcast();
|
||||||
});
|
// });
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
const affects = {
|
const affects = {
|
||||||
all: 'disableAll' in broadcastPrefs
|
all: 'disableAll' in broadcastPrefs
|
||||||
|| 'exposeIframes' in broadcastPrefs,
|
|| 'exposeIframes' in broadcastPrefs,
|
||||||
|
|
|
@ -31,6 +31,9 @@
|
||||||
"js/prefs.js",
|
"js/prefs.js",
|
||||||
"js/script-loader.js",
|
"js/script-loader.js",
|
||||||
"js/usercss.js",
|
"js/usercss.js",
|
||||||
|
"js/cache.js",
|
||||||
|
"background/db.js",
|
||||||
|
"background/style-manager.js",
|
||||||
"background/background.js",
|
"background/background.js",
|
||||||
"background/usercss-helper.js",
|
"background/usercss-helper.js",
|
||||||
"background/style-via-api.js",
|
"background/style-via-api.js",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user