Browse Source

Firefox: load content-scripts on extension start

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

6
platform/firefox/frameModule.js

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

Loading…
Cancel
Save