From ff7d17da6e41e93b42cd1e536e865fe4e6176883 Mon Sep 17 00:00:00 2001 From: Shreya Dahal Date: Sun, 12 Nov 2023 17:01:31 -0700 Subject: [PATCH] patch: Include modern skip button --- manifest.json | 3 ++- skipad.js | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index a97801e..84de040 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,8 @@ "short_name": "YouTube Ad Auto-skipper", "description":"YouTube Ad Skipper is an extension that auto skips ads after YouTube provides a skip ad button. It does not block an ad.", "manifest_version": 2, - "version":"0.5.1", + "version":"0.5.2", + "version_name": "0.5.2_hotfix", "author":"Shreya Dahal", "homepage_url": "https://github.com/squgeim/yt-ad-autoskipper", "content_scripts":[ diff --git a/skipad.js b/skipad.js index c4c2c53..7c7292b 100644 --- a/skipad.js +++ b/skipad.js @@ -3,6 +3,7 @@ 'videoAdUiSkipButton', // Old close ad button 'ytp-ad-skip-button ytp-button', // New close ad button 'ytp-ad-overlay-close-button', // Close overlay button + 'ytp-ad-skip-button-modern ytp-button', // Modern close ad button ]; var timeoutId;