build: extension working for chrome, think it broke firefox though

This commit is contained in:
Mathew Guest 2024-06-08 00:52:45 -06:00
parent 1600e6c637
commit b50507be65

@ -1,17 +1,13 @@
{ {
"manifest_version": 2,
"name": "Search with ChatGPT", "name": "Search with ChatGPT",
"description": "Search using ChatGPT query.",
"version": "1.0", "version": "1.0",
"description": "A Firefox extension to search using ChatGPT.", "manifest_version": 3,
"permissions": [ "permissions": [
"activeTab", "activeTab"
"webRequest",
"webRequestBlocking",
"<all_urls>"
], ],
"browser_action": { "action": {
"default_popup": "popup.html", "default_icon": {
"default_icon": {
"48": "icons/favicon.png" "48": "icons/favicon.png"
} }
}, },
@ -20,12 +16,9 @@
"name": "ChatGPT Search", "name": "ChatGPT Search",
"keyword": "gpt", "keyword": "gpt",
"search_url": "https://chatgpt.com?q={searchTerms}", "search_url": "https://chatgpt.com?q={searchTerms}",
"favicon_url": "https://chatgpt.com/favicon.png" "favicon_url": "https://chatgpt.com/favicon.png",
"is_default": true,
"encoding": "UTF-8"
} }
}, }
"content_scripts": [
{
"matches": ["<all_urls>"]
}
]
} }