Skip to content

Commit

Permalink
Test presence of firefox instead of absence of chromium
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Feb 12, 2019
1 parent 2fb4dc8 commit 83a3767
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platform/chromium/vapi-webrequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 83a3767

Please sign in to comment.