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/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")} 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"; 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> = {};