Update cookies whitelist and permission req page
This commit is contained in:
parent
fa1e42eab1
commit
e6756d25f8
|
@ -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't be prompted for this permission, it's included in “Read & change data from all sites”.
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue