We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b22587 commit e11b81aCopy full SHA for e11b81a
background.js
@@ -1,5 +1,6 @@
1
var gIsFirefox = browser.runtime.getBrowserInfo;
2
var gIsChromium = !browser.runtime.getBrowserInfo;
3
+var BROWSER = gIsFirefox ? 'Firefox' : 'Chrome';
4
5
var CANCEL_RESPONSE = gIsChromium ?
6
{ redirectUrl: `data:text/html,${escape('<script type="application/javascript">history.back()</script>')}` } :
0 commit comments