Added Firefox fixes

This commit is contained in:
Ajay Ramachandran 2019-12-31 14:50:01 -05:00
parent aba08a515e
commit b0e0c380dd
3 changed files with 9 additions and 3 deletions

View file

@ -69,6 +69,9 @@
"128": "icons/LogoSponsorBlocker128px.png", "128": "icons/LogoSponsorBlocker128px.png",
"256": "icons/LogoSponsorBlocker256px.png" "256": "icons/LogoSponsorBlocker256px.png"
}, },
"options_page": "options/options.html", "options_ui": {
"page": "options/options.html",
"open_in_tab": true
},
"manifest_version": 2 "manifest_version": 2
} }

View file

@ -42,7 +42,7 @@ body {
border-radius: 5px; border-radius: 5px;
font-size: 14px; font-size: 14px;
width: fit-content; width: max-content;
} }
.option-button:hover { .option-button:hover {

View file

@ -64,7 +64,10 @@ async function init() {
} }
} }
// Don't wait on chrome
if (typeof(browser) == "undefined") {
await wait(() => checksLeft == 0, 1000, 50); await wait(() => checksLeft == 0, 1000, 50);
}
optionsContainer.classList.remove("hidden"); optionsContainer.classList.remove("hidden");
optionsContainer.classList.add("animated"); optionsContainer.classList.add("animated");