Skip to content

Commit

Permalink
Update DictHub version
Browse files Browse the repository at this point in the history
  • Loading branch information
willings committed Mar 16, 2019
1 parent 06b33a5 commit f235298
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 17 deletions.
15 changes: 7 additions & 8 deletions src/main/static/chrome/manifest.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"manifest_version": 2,
"name": "Dict Hub",
"name": "DictHub",
"author": "DictHub",
"version": "1.0",
"version": "1.0.1",

"description": "This extension helps pull translation result from multiple provider via one-click",
"description": "One-click to get translation/dictionary from all sources, supporting 100+ languages.",

"browser_action": {
"default_icon": "ico/dicthub-19.png",
Expand All @@ -24,8 +24,7 @@
"commands": {
"_execute_browser_action": {
"suggested_key": {
"default": "Alt+W",
"linux": "Alt+W"
"default": "Alt+W"
},
"description": "Send a 'toggle-feature' event to the extension"
}
Expand All @@ -36,11 +35,11 @@
"content_security_policy": "script-src 'self' 'unsafe-eval' https://www.google-analytics.com https://ssl.google-analytics.com; object-src 'self'",

"permissions": [
"activeTab",
"storage",
"activeTab",
"tabs",
"contextMenus",
"<all_urls>"
"\u003Call_urls>"
],

"web_accessible_resources": [
Expand All @@ -57,7 +56,7 @@
},
"content_scripts": [
{
"matches": ["<all_urls>"],
"matches": ["http://*/*", "https://*/*"],
"js": ["js/injectContextMenu.js"]
}
]
Expand Down
17 changes: 8 additions & 9 deletions src/main/static/firefox/manifest.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"manifest_version": 2,
"name": "Dict Hub",
"name": "DictHub",
"author": "DictHub",
"version": "1.0",
"version": "1.0.1",

"description": "This extension helps pull translation result from multiple provider via one-click",
"description": "One-click to get translation/dictionary from all sources, supporting 100+ languages.",
"homepage_url": "https://github.com/willings/DictHub",
"icons": {
"32": "ico/dicthub-32.png",
Expand All @@ -24,8 +24,7 @@
"commands": {
"_execute_browser_action": {
"suggested_key": {
"default": "Alt+W",
"linux": "Alt+W"
"default": "Alt+W"
},
"description": "Send a 'toggle-feature' event to the extension"
}
Expand All @@ -35,11 +34,11 @@
"content_security_policy": "script-src 'self' 'unsafe-eval' https://www.google-analytics.com https://ssl.google-analytics.com; object-src 'self'",

"permissions": [
"activeTab",
"storage",
"contextMenus",
"activeTab",
"tabs",
"<all_urls>"
"contextMenus",
"\u003Call_urls>"
],

"web_accessible_resources": [
Expand All @@ -56,7 +55,7 @@
},
"content_scripts": [
{
"matches": ["<all_urls>"],
"matches": ["http://*/*", "https://*/*"],
"js": ["js/injectContextMenu.js"]
}
]
Expand Down

0 comments on commit f235298

Please sign in to comment.