build: first working version includes ChatGPT search and icon

This commit is contained in:
Mathew Guest
2024-06-07 17:42:08 -06:00
commit ee86860699
5 changed files with 133 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
{
"manifest_version": 2,
"name": "Search with ChatGPT",
"version": "1.0",
"description": "A Firefox extension to search using ChatGPT.",
"permissions": [
"activeTab",
"webRequest",
"webRequestBlocking",
"<all_urls>"
],
"browser_action": {
"default_popup": "popup.html",
"default_icon": {
"48": "icons/favicon.png"
}
},
"chrome_settings_overrides": {
"search_provider": {
"name": "ChatGPT Search",
"keyword": "gpt",
"search_url": "https://chatgpt.com?q={searchTerms}",
"favicon_url": "https://chatgpt.com/favicon.png"
}
},
"content_scripts": [
{
"matches": ["<all_urls>"]
}
]
}