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" />}>
|
<Card icon={<Icon name="cookie" />}>
|
||||||
<h3>Read and write cookies</h3>
|
<h3>Read and write cookies</h3>
|
||||||
<p className="text-color paragraph">
|
<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>
|
||||||
<p className="text-color paragraph">
|
<p className="text-color paragraph">
|
||||||
You won't be prompted for this permission, it's included in “Read & change data from all sites”.
|
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)$/,
|
/^(?:.*\.)?m4ufree\.(?:tv|to|pw)$/,
|
||||||
/^(?:.*\.)?goojara\.to$/,
|
/^(?:.*\.)?goojara\.to$/,
|
||||||
/^(?:.*\.)?levidia\.ch$/,
|
/^(?:.*\.)?levidia\.ch$/,
|
||||||
|
/^(?:.*\.)?wootly\.ch$/,
|
||||||
|
/^(?:.*\.)?multimovies\.(?:sbs|online|cloud)$/,
|
||||||
];
|
];
|
||||||
|
|
||||||
export function canAccessCookies(host: string): boolean {
|
export function canAccessCookies(host: string): boolean {
|
||||||
|
|
Loading…
Reference in New Issue