Update cookies whitelist and permission req page

This commit is contained in:
TPN 2024-08-19 17:29:37 +01:00
parent fa1e42eab1
commit e6756d25f8
2 changed files with 4 additions and 1 deletions

View File

@ -76,7 +76,8 @@ export default function PermissionRequest() {
<Card icon={<Icon name="cookie" />}>
<h3>Read and write cookies</h3>
<p className="text-color paragraph">
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.
</p>
<p className="text-color paragraph">
You won&apos;t be prompted for this permission, it&apos;s included in Read & change data from all sites.

View File

@ -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 {