migrate background related things from chrome

This commit is contained in:
DEV Sam Hayes
2025-02-07 22:26:34 +01:00
parent b20faf2359
commit 6c43a60810
7 changed files with 1002 additions and 19 deletions

View File

@@ -5,37 +5,26 @@
"version": "0.0.1",
"homepage_url": "https://getgooti.com",
"options_page": "options.html",
"permissions": [
"storage"
],
"permissions": ["storage"],
"action": {
"default_popup": "index.html",
"default_icon": "gooti-with-bg.png"
},
"background": {
"scripts": [
"background.js"
]
"scripts": ["background.js"]
},
"content_scripts": [
{
"run_at": "document_end",
"matches": [
"<all_urls>"
],
"js": [
"gooti-content-script.js"
]
"run_at": "document_start",
"matches": ["<all_urls>"],
"js": ["gooti-content-script.js"],
"all_frames": true
}
],
"web_accessible_resources": [
{
"resources": [
"gooti-extension.js"
],
"matches": [
"<all_urls>"
]
"resources": ["gooti-extension.js"],
"matches": ["<all_urls>"]
}
],
"browser_specific_settings": {