mirror of
https://github.com/movie-web/extension.git
synced 2025-09-13 16:33:25 +00:00
add explicit domains
This commit is contained in:
@@ -47,7 +47,9 @@
|
|||||||
"tabs"
|
"tabs"
|
||||||
],
|
],
|
||||||
"host_permissions": [
|
"host_permissions": [
|
||||||
"<all_urls>"
|
"<all_urls>",
|
||||||
|
"https://dev.movie-web.app/*",
|
||||||
|
"https://movie-web.app/*"
|
||||||
],
|
],
|
||||||
"browser_specific_settings": {
|
"browser_specific_settings": {
|
||||||
"gecko": {
|
"gecko": {
|
||||||
|
@@ -2,7 +2,8 @@ import { relayMessage } from '@plasmohq/messaging';
|
|||||||
import type { PlasmoCSConfig } from 'plasmo';
|
import type { PlasmoCSConfig } from 'plasmo';
|
||||||
|
|
||||||
export const config: PlasmoCSConfig = {
|
export const config: PlasmoCSConfig = {
|
||||||
matches: ['<all_urls>'],
|
// <all_urls> works for chrome, but not for firefox, so we add explicit domains for firefox
|
||||||
|
matches: ['<all_urls>', 'https://dev.movie-web.app/*', 'https://movie-web.app/*'],
|
||||||
};
|
};
|
||||||
|
|
||||||
relayMessage({
|
relayMessage({
|
||||||
|
Reference in New Issue
Block a user