fix styling of options frame in FF (#1022)
This commit is contained in:
parent
a0172c262c
commit
56f1574433
|
@ -64,7 +64,7 @@ self.INJECTED !== 1 && (() => {
|
||||||
|
|
||||||
function getMatchUrl() {
|
function getMatchUrl() {
|
||||||
let matchUrl = location.href;
|
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
|
// 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
|
// so we'll try the parent frame which is guaranteed to have a real URL
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user