From e6756d25f8e31899393692c266acb35d60aed1b2 Mon Sep 17 00:00:00 2001 From: TPN Date: Mon, 19 Aug 2024 17:29:37 +0100 Subject: [PATCH] Update cookies whitelist and permission req page --- src/tabs/PermissionRequest.tsx | 3 ++- src/utils/storage.ts | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/tabs/PermissionRequest.tsx b/src/tabs/PermissionRequest.tsx index 9ae4582..a768a0c 100644 --- a/src/tabs/PermissionRequest.tsx +++ b/src/tabs/PermissionRequest.tsx @@ -76,7 +76,8 @@ export default function PermissionRequest() { }>

Read and write cookies

- Some sources use cookies for authentication. We need to be able to read and set those cookies. + Some sources use cookies for authentication. We need to be able to read and set those cookies. The + extension will only be able to accees the cookies for a few sites we scrape.

You won't be prompted for this permission, it's included in “Read & change data from all sites”. diff --git a/src/utils/storage.ts b/src/utils/storage.ts index 249b9d6..eaa312e 100644 --- a/src/utils/storage.ts +++ b/src/utils/storage.ts @@ -20,6 +20,8 @@ const hostsWithCookiesAccess: RegExp[] = [ /^(?:.*\.)?m4ufree\.(?:tv|to|pw)$/, /^(?:.*\.)?goojara\.to$/, /^(?:.*\.)?levidia\.ch$/, + /^(?:.*\.)?wootly\.ch$/, + /^(?:.*\.)?multimovies\.(?:sbs|online|cloud)$/, ]; export function canAccessCookies(host: string): boolean {