diff --git a/manifest/manifest.json b/manifest/manifest.json index 2e951380..86c725ee 100644 --- a/manifest/manifest.json +++ b/manifest/manifest.json @@ -28,6 +28,9 @@ "icons/PlayerStopIconSponsorBlocker256px.png", "icons/PlayerUploadIconSponsorBlocker256px.png", "icons/PlayerUploadFailedIconSponsorBlocker256px.png", + "icons/settings.svg", + "icons/pencil.svg", + "icons/check.svg", "icons/upvote.png", "icons/downvote.png", "icons/thumbs_down.svg", diff --git a/public/popup.css b/public/popup.css index e387b6ab..b32cff2b 100644 --- a/public/popup.css +++ b/public/popup.css @@ -135,7 +135,7 @@ div.logoText>p, .recordingSubtitle { } .recordingSubtitle { - margin-bottom: 4px !important; + margin-bottom: 5px !important; } .logoText { diff --git a/public/popup.html b/public/popup.html index 083f2bf4..00ba923c 100644 --- a/public/popup.html +++ b/public/popup.html @@ -47,7 +47,7 @@ @@ -60,7 +60,7 @@

diff --git a/src/content.ts b/src/content.ts index 8c761ecc..4d6fd3b0 100644 --- a/src/content.ts +++ b/src/content.ts @@ -1264,12 +1264,17 @@ function openInfoMenu() { //old youtube theme parentNode = document.getElementById("watch7-sidebar-contents"); } - //make the logo source not 404 //query selector must be used since getElementByID doesn't work on a node and this isn't added to the document yet let logo = popup.querySelector("#sponsorBlockPopupLogo"); + let settings = popup.querySelector("#sbPopupIconSettings"); + let edit = popup.querySelector("#sbPopupIconEdit"); + let check = popup.querySelector("#sbPopupIconCheck"); logo.src = chrome.extension.getURL("icons/LogoSponsorBlocker256px.png"); + settings.src = chrome.extension.getURL("icons/settings.svg"); + edit.src = chrome.extension.getURL("icons/pencil.svg"); + check.src = chrome.extension.getURL("icons/check.svg"); //remove the style sheet and font that are not necessary popup.querySelector("#sponsorBlockPopupFont").remove();