Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions manifest.chrome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"name": "Writely",
"version": "1.0.0",
"description": "A GPT Powered Extension helping your writing and reading",
"manifest_version": 3,
"author": "https://github.com/anc95",
"action": {
"default_title": "Writely",
"default_popup": "dist/popup/index.html",
"defult_icon": "dist/assets/icon.png"
},
"options_ui": {
"page": "dist/options/index.html",
"open_in_tab": true
},
"icons": {
"16": "dist/assets/icon.png",
"32": "dist/assets/icon.png",
"48": "dist/assets/icon.png",
"128": "dist/assets/icon.png"
},
"content_scripts": [
{
"js": [
"dist/content/index.js"
],
"css": [
"dist/content/animate.css"
],
"matches": [
"*://*/*"
],
"all_frames": true
}
],
"background": {
"service_worker": "dist/background/index.js"
},
"host_permissions": [
"https://*.miao-ya.com/"
],
"permissions": [
"storage",
"clipboardRead",
"contextMenus",
"cookies"
]
}
9 changes: 4 additions & 5 deletions manifest.firefox.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,10 @@
"host_permissions": [
"https://*.miao-ya.com/"
],
"background": {
"scripts": [
"dist/background/index.js"
]
},
"background": {
"service_worker": "background.js",
"scripts": ["background.js"]
},
"permissions": [
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it would work if you change the background script file path

"storage",
"clipboardRead",
Expand Down
17 changes: 11 additions & 6 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"author": "https://github.com/anc95",
"action": {
"default_title": "Writely",
"default_popup": "dist/popup/index.html",
"defult_icon": "dist/assets/icon.png"
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do you remove the default_icon? can you change them back, thanks

"default_popup": "dist/popup/index.html"
},
"options_ui": {
"page": "dist/options/index.html",
Expand All @@ -33,16 +32,22 @@
"all_frames": true
}
],
"background": {
"service_worker": "dist/background/index.js"
},
"host_permissions": [
"https://*.miao-ya.com/"
],
"background": {
"service_worker": "background.js",
"scripts": ["background.js"]
},
"permissions": [
"storage",
"clipboardRead",
"contextMenus",
"cookies"
]
],
"browser_specific_settings": {
"gecko": {
"id": "anchao951220@gmail.com"
}
}
}
Loading