Setup new config.json and fixed typescript errors in the popup

This commit is contained in:
Ajay Ramachandran
2020-02-01 16:26:57 -05:00
parent d77f8abf42
commit 16c720e500
8 changed files with 1164 additions and 10 deletions

View File

@@ -1,3 +0,0 @@
//this file is loaded along iwth content.js
//this file sets the server to connect to, and is gitignored
var serverAddress = "https://sponsor.ajay.app";

View File

@@ -800,8 +800,8 @@ function openInfoMenu() {
logo.src = chrome.extension.getURL("icons/LogoSponsorBlocker256px.png");
//remove the style sheet and font that are not necessary
popup.querySelector("#sponorBlockPopupFont").remove();
popup.querySelector("#sponorBlockStyleSheet").remove();
popup.querySelector("#sponsorBlockPopupFont").remove();
popup.querySelector("#sponsorBlockStyleSheet").remove();
parentNode.insertBefore(popup, parentNode.firstChild);

1150
src/popup.ts Normal file

File diff suppressed because it is too large Load Diff