Browse Source

Firefox: load content-scripts on extension start

pull/2/head
Deathamns 10 years ago
committed by gorhill
parent
commit
fd3e24713f
  1. 4
      platform/firefox/frameModule.js

4
platform/firefox/frameModule.js

@ -299,7 +299,11 @@ const contentObserver = {
} }
}; };
if ( doc.readyState === 'loading') {
doc.addEventListener('DOMContentLoaded', docReady, true); doc.addEventListener('DOMContentLoaded', docReady, true);
} else {
docReady({ target: doc, type: 'DOMContentLoaded' });
}
} }
}; };

Loading…
Cancel
Save