From 1527cd86e885d3f9d9b8dccb20e91cf999a62544 Mon Sep 17 00:00:00 2001 From: Shrey Marwaha Date: Wed, 17 Dec 2025 21:28:37 +0530 Subject: [PATCH 1/4] Add clipboard write permission and iframe attribute Added 'clipboardWrite' to extension permissions in manifest.json and set 'allow' attribute to 'clipboard-write' on the info menu iframe in content.ts to enable clipboard operations. --- manifest/manifest.json | 3 ++- src/content.ts | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/manifest/manifest.json b/manifest/manifest.json index 6c8c99f8d..7f138b923 100644 --- a/manifest/manifest.json +++ b/manifest/manifest.json @@ -17,7 +17,8 @@ "permissions": [ "storage", "scripting", - "unlimitedStorage" + "unlimitedStorage", + "clipboardWrite" ], "options_ui": { "page": "options/options.html", diff --git a/src/content.ts b/src/content.ts index cc2edbc0f..a83196fb1 100644 --- a/src/content.ts +++ b/src/content.ts @@ -2205,6 +2205,7 @@ function openInfoMenu() { popup.id = "sponsorBlockPopupContainer"; const frame = document.createElement("iframe"); + frame.allow = "clipboard-write"; frame.width = "374"; frame.height = "500"; frame.style.borderRadius = "12px"; From 97cd11f50da08630c6dc83acf57e3b3e0146b43c Mon Sep 17 00:00:00 2001 From: Shrey Marwaha Date: Thu, 18 Dec 2025 10:51:17 +0530 Subject: [PATCH 2/4] Remove clipboardWrite permission from manifest The clipboardWrite permission was removed from the manifest.json file, likely to reduce unnecessary permissions and improve security. --- manifest/manifest.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/manifest/manifest.json b/manifest/manifest.json index 7f138b923..6c8c99f8d 100644 --- a/manifest/manifest.json +++ b/manifest/manifest.json @@ -17,8 +17,7 @@ "permissions": [ "storage", "scripting", - "unlimitedStorage", - "clipboardWrite" + "unlimitedStorage" ], "options_ui": { "page": "options/options.html", From ea8b0f4372b15093240c9968f2acc2c2f6f296a7 Mon Sep 17 00:00:00 2001 From: Ajay Date: Tue, 17 Mar 2026 15:02:49 -0400 Subject: [PATCH 3/4] Fix options page disappearing if all custom configurations are deleted --- src/components/options/CategoryChooserComponent.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/options/CategoryChooserComponent.tsx b/src/components/options/CategoryChooserComponent.tsx index 9a8dd8274..82f559e8d 100644 --- a/src/components/options/CategoryChooserComponent.tsx +++ b/src/components/options/CategoryChooserComponent.tsx @@ -158,7 +158,7 @@ export function CategoryChooserComponent() { setConfigurations(Config.local!.skipProfiles); const newID = Object.keys(Config.local!.skipProfiles)[0] as ConfigurationID; - setSelectedConfigurationID(newID); + setSelectedConfigurationID(newID ?? null); } }}> {chrome.i18n.getMessage("DeleteConfiguration")} From 49678c80bd53b6d284df5ba28dc63b87ba7b9804 Mon Sep 17 00:00:00 2001 From: Ajay Date: Tue, 17 Mar 2026 15:29:12 -0400 Subject: [PATCH 4/4] Merge updated channel lookups --- maze-utils | 2 +- src/utils/segmentData.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/maze-utils b/maze-utils index b036b7c00..2540f1cf1 160000 --- a/maze-utils +++ b/maze-utils @@ -1 +1 @@ -Subproject commit b036b7c0065b936f2c5a2f72a5612e9ac8066e7e +Subproject commit 2540f1cf1c4ea4b145bd17d2b883313860440c68 diff --git a/src/utils/segmentData.ts b/src/utils/segmentData.ts index 3b524c9f2..7ff6a1349 100644 --- a/src/utils/segmentData.ts +++ b/src/utils/segmentData.ts @@ -13,7 +13,7 @@ const segmentDataCache = new DataCache(() => { segments: null, status: 200 }; -}, 5); +}, null, 5); const pendingList: Record> = {};