From 56f1574433757e15ff122a88ed7b2ed7d4a26c45 Mon Sep 17 00:00:00 2001 From: tophf Date: Wed, 19 Aug 2020 22:33:04 +0300 Subject: [PATCH] fix styling of options frame in FF (#1022) --- content/apply.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/apply.js b/content/apply.js index 57a630d3..555535a2 100644 --- a/content/apply.js +++ b/content/apply.js @@ -64,7 +64,7 @@ self.INJECTED !== 1 && (() => { function getMatchUrl() { let matchUrl = location.href; - if (!matchUrl.match(/^(http|file|chrome|ftp)/)) { + if (!chrome.tabs && !matchUrl.match(/^(http|file|chrome|ftp)/)) { // dynamic about: and javascript: iframes don't have an URL yet // so we'll try the parent frame which is guaranteed to have a real URL try {