Added logo and changed up colours to support logo.

Logo by @munadikieh
This commit is contained in:
Ajay Ramachandran
2019-07-11 16:15:47 -04:00
parent 07657835ff
commit 370a1d1fb2
15 changed files with 48 additions and 15 deletions

View File

@@ -135,6 +135,10 @@ function openSkipNotice(){
noticeElement.id = "sponsorSkipNotice";
noticeElement.className = "sponsorSkipObject";
var logoElement = document.createElement("img");
logoElement.id = "sponsorSkipLogo";
logoElement.src = chrome.extension.getURL("icons/LogoSponsorBlocker256px.png");
var noticeMessage = document.createElement("p");
noticeMessage.id = "sponsorSkipMessage";
noticeMessage.className = "sponsorSkipObject";
@@ -167,6 +171,7 @@ function openSkipNotice(){
buttonContainer.appendChild(document.createElement("br"));
buttonContainer.appendChild(dontShowAgainButton);
noticeElement.appendChild(logoElement);
noticeElement.appendChild(noticeMessage);
noticeElement.appendChild(buttonContainer);