diff --git a/content.js b/content.js index d63b8fc5..f5b82b2c 100644 --- a/content.js +++ b/content.js @@ -166,6 +166,11 @@ function goBackToPreviousTime() { //Adds a sponsorship starts button to the player controls function addPlayerControlsButton() { + if (document.getElementById("startSponsorButton") != null) { + //it's already added + return; + } + let startSponsorButton = document.createElement("button"); startSponsorButton.id = "startSponsorButton"; startSponsorButton.className = "ytp-button";