diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..44ce34d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +web-ext-artifacts diff --git a/manifest.json b/manifest.json index 75d6caf..95f615d 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "description": "Enables you to fight your youtube addiction by hiding video suggestions and related 'features' of YouTube's website. If you really want to, you can temporarily unhide those elements.", "manifest_version": 2, "name": "YT addiction control", - "version": "0.1.1", + "version": "0.1.3", "homepage_url": "https://gitlab.com/arnekeller/yt-addiction-control", "icons": { diff --git a/todo.txt b/todo.txt deleted file mode 100644 index debd803..0000000 --- a/todo.txt +++ /dev/null @@ -1,7 +0,0 @@ -"theme_icons": [{ - "light": "icons/beasts-32-light.png", - "dark": "icons/beasts-32.png", - "size": 32 - }], - -(4) tab title notification count \ No newline at end of file diff --git a/youtube-addiction-control-extension-firefox.js b/youtube-addiction-control-extension-firefox.js index 781d930..c3649b8 100644 --- a/youtube-addiction-control-extension-firefox.js +++ b/youtube-addiction-control-extension-firefox.js @@ -12,7 +12,7 @@ window.ytacCSS = { "endscreen": ".videowall-endscreen", "invideo": ".ytp-ce-video", "notification": "ytd-notification-topbar-button-renderer", - "other": "#newness-dot, .ytp-spinner" + "other": "#newness-dot, .ytp-spinner, .ytp-next-button" }; const INVISIBLE = " { display: none !important; }"; @@ -83,7 +83,7 @@ function modifyThings() { // autoplay disabler let autoplayButton = document.getElementById("toggle"); if (autoplayButton == null) { - console.warn("[YTAC] could not locate autoplay button"); + console.warn("[YTAC] could not locate autoplay button, trying again in 10s ..."); setTimeout(modifyThings, 10000); } else if (autoplayButton.getAttribute("aria-pressed") === "true") { autoplayButton.click();