mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
Test presence of firefox
instead of absence of chromium
This commit is contained in:
parent
2fb4dc8358
commit
83a3767a16
1 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@
|
|||
|
||||
(function() {
|
||||
// https://github.com/uBlockOrigin/uBlock-issues/issues/407
|
||||
if ( vAPI.webextFlavor.soup.has('chromium') === false ) { return; }
|
||||
if ( vAPI.webextFlavor.soup.has('firefox') ) { return; }
|
||||
|
||||
const extToTypeMap = new Map([
|
||||
['eot','font'],['otf','font'],['svg','font'],['ttf','font'],['woff','font'],['woff2','font'],
|
||||
|
@ -157,7 +157,7 @@
|
|||
|
||||
vAPI.net.onBeforeReady = vAPI.net.onBeforeReady || (function() {
|
||||
// https://github.com/uBlockOrigin/uBlock-issues/issues/407
|
||||
if ( vAPI.webextFlavor.soup.has('chromium') === false ) { return; }
|
||||
if ( vAPI.webextFlavor.soup.has('firefox') ) { return; }
|
||||
|
||||
let pendings;
|
||||
|
||||
|
|
Loading…
Reference in a new issue