mirror of
https://github.com/movie-web/extension.git
synced 2025-09-13 10:23:24 +00:00
add explicit domains
This commit is contained in:
@@ -47,7 +47,9 @@
|
||||
"tabs"
|
||||
],
|
||||
"host_permissions": [
|
||||
"<all_urls>"
|
||||
"<all_urls>",
|
||||
"https://dev.movie-web.app/*",
|
||||
"https://movie-web.app/*"
|
||||
],
|
||||
"browser_specific_settings": {
|
||||
"gecko": {
|
||||
|
@@ -2,7 +2,8 @@ import { relayMessage } from '@plasmohq/messaging';
|
||||
import type { PlasmoCSConfig } from 'plasmo';
|
||||
|
||||
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({
|
||||
|
Reference in New Issue
Block a user