From c2dca9bbed1d358bdc9a108a7af1defcc10a9938 Mon Sep 17 00:00:00 2001 From: Jonny Buchanan Date: Thu, 7 Mar 2024 17:55:13 +1000 Subject: [PATCH] Release v1.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Firefox version: fixed permission issues (extension is disabled by default after install) by using Manifest Version 2 instead - Improved the Japanese translation (thanks @Catastravia) - Fixed disconnectObservers() only disconnecting page observers hideShareThanksClip: - Added a new option to hide the Share/Thanks/Clip buttons under a video (not enabled by default) hideChannels: - You can now hide a channel while watching one of its videos - a "Hide channel" item is added to the video's ⋯ menu - This becomes an "Unhide channel" menu item if the channel is already hidden hideOpenApp: - Fixed hiding "Open App" links when using YouTube in Japanese hideSponsored: - Fixed related videos being hidden in the mobile version at tablet sizes when they contained an ad --- content.js | 2 +- manifest.mv2.json | 2 +- manifest.mv3.json | 2 +- options.html | 2 +- .../project.pbxproj | 16 ++++++++-------- .../Shared (Extension)/Resources/manifest.json | 2 +- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/content.js b/content.js index 49a3232..134e870 100644 --- a/content.js +++ b/content.js @@ -6,7 +6,7 @@ // @match https://www.youtube.com/* // @match https://m.youtube.com/* // @exclude https://www.youtube.com/embed/* -// @version 2 +// @version 3 // ==/UserScript== let debug = false let debugManualHiding = false diff --git a/manifest.mv2.json b/manifest.mv2.json index 51ef38f..d16ae25 100644 --- a/manifest.mv2.json +++ b/manifest.mv2.json @@ -4,7 +4,7 @@ "name": "__MSG_extensionName__", "description": "__MSG_extensionDescription__", "homepage_url": "https://jbscript.dev/control-panel-for-youtube", - "version": "1.0.1", + "version": "1.1.0", "icons": { "16": "icons/icon16.png", "32": "icons/icon32.png", diff --git a/manifest.mv3.json b/manifest.mv3.json index f155e1f..7e47cb6 100644 --- a/manifest.mv3.json +++ b/manifest.mv3.json @@ -4,7 +4,7 @@ "name": "__MSG_extensionName__", "description": "__MSG_extensionDescription__", "homepage_url": "https://jbscript.dev/control-panel-for-youtube", - "version": "1.0.1", + "version": "1.1.0", "icons": { "16": "icons/icon16.png", "32": "icons/icon32.png", diff --git a/options.html b/options.html index 36f3936..27a326e 100644 --- a/options.html +++ b/options.html @@ -336,7 +336,7 @@

Highlights elements instead of hiding them

-
v1.0.1
+
v1.1.0
diff --git a/safari/Control Panel for YouTube.xcodeproj/project.pbxproj b/safari/Control Panel for YouTube.xcodeproj/project.pbxproj index beafae1..fb7fab7 100644 --- a/safari/Control Panel for YouTube.xcodeproj/project.pbxproj +++ b/safari/Control Panel for YouTube.xcodeproj/project.pbxproj @@ -641,7 +641,7 @@ CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; + CURRENT_PROJECT_VERSION = 2; DEAD_CODE_STRIPPING = YES; DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; @@ -662,7 +662,7 @@ GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; LOCALIZATION_PREFERS_STRING_CATALOGS = YES; - MARKETING_VERSION = 1.0.1; + MARKETING_VERSION = 1.1.0; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; ONLY_ACTIVE_ARCH = YES; @@ -705,7 +705,7 @@ CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; + CURRENT_PROJECT_VERSION = 2; DEAD_CODE_STRIPPING = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; @@ -720,7 +720,7 @@ GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; LOCALIZATION_PREFERS_STRING_CATALOGS = YES; - MARKETING_VERSION = 1.0.1; + MARKETING_VERSION = 1.1.0; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; SWIFT_COMPILATION_MODE = wholemodule; @@ -793,7 +793,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; + CURRENT_PROJECT_VERSION = 2; DEVELOPMENT_TEAM = 2RDKJDLNY8; GENERATE_INFOPLIST_FILE = YES; INFOPLIST_FILE = "iOS (App)/Info.plist"; @@ -809,7 +809,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.0.1; + MARKETING_VERSION = 1.1.0; OTHER_LDFLAGS = ( "-framework", SafariServices, @@ -832,7 +832,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; + CURRENT_PROJECT_VERSION = 2; DEVELOPMENT_TEAM = 2RDKJDLNY8; GENERATE_INFOPLIST_FILE = YES; INFOPLIST_FILE = "iOS (App)/Info.plist"; @@ -848,7 +848,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.0.1; + MARKETING_VERSION = 1.1.0; OTHER_LDFLAGS = ( "-framework", SafariServices, diff --git a/safari/Shared (Extension)/Resources/manifest.json b/safari/Shared (Extension)/Resources/manifest.json index ff515a7..6e3abab 100644 --- a/safari/Shared (Extension)/Resources/manifest.json +++ b/safari/Shared (Extension)/Resources/manifest.json @@ -4,7 +4,7 @@ "name": "__MSG_extensionName__", "description": "__MSG_extensionDescription__", "homepage_url": "https://jbscript.dev/control-panel-for-youtube", - "version": "1.0.1", + "version": "1.1.0", "icons": { "48": "icon48.png", "96": "icon96.png",