Compare commits

...

6 Commits

Author SHA1 Message Date
Fabio Manganiello a6e60fd0f3 Removed clipboardRead permission from Chrome manifest 2020-08-20 16:07:31 +02:00
Fabio Manganiello 62a68f6515 Bumped version 0.1.8 -> 0.1.9 2020-08-11 19:47:35 +02:00
Fabio Manganiello cd3d36dcb1 I HATE CHROME.
Chrome doesn't support more than 4 keybindings per extension nor
keybindings including the Alt key. The reasons are hysterically unknown.
Since I'm not going to drop features for Firefox users just because
Google developers decided to make life impossible for web extensions
developers, I'm going to keep two different manifest files for Firefox
and Chrome - and advise users NOT to use Chrome.
2020-08-11 19:41:17 +02:00
Fabio Manganiello 8cc77d8398 Fixed npm audit issues and added cross-env dependency 2020-08-04 18:08:17 +02:00
Fabio Manganiello 349f54be95 Upgraded lodash version (CVE-2020-8203) 2020-07-26 13:18:22 +02:00
Fabio Manganiello db5a35498c Bumped version 0.1.7 -> 0.1.8 2020-07-15 00:10:08 +02:00
5 changed files with 166 additions and 105 deletions

14
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "platypush",
"version": "0.1.7",
"version": "0.1.9",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@ -3416,9 +3416,9 @@
"integrity": "sha1-nUNoLUS5GtFuvYQmisEDFwplU/g="
},
"elliptic": {
"version": "6.5.2",
"resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.2.tgz",
"integrity": "sha512-f4x70okzZbIQl/NSRLkI/+tteV/9WqL98zx+SQ69KbXxmVrmjwsNUPn/gYJJ0sHvEak24cZgHIPegRePAtA/xw==",
"version": "6.5.3",
"resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.3.tgz",
"integrity": "sha512-IMqzv5wNQf+E6aHeIqATs0tOLeOTwj1QKbRcS3jBbYkl5oLAserA8yJTT7/VyHUYG91PRmPyeQDObKLPpeS4dw==",
"dev": true,
"requires": {
"bn.js": "^4.4.0",
@ -5875,9 +5875,9 @@
}
},
"lodash": {
"version": "4.17.15",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz",
"integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A=="
"version": "4.17.19",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.19.tgz",
"integrity": "sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ=="
},
"lodash.assignin": {
"version": "4.2.0",

View File

@ -1,6 +1,6 @@
{
"name": "platypush",
"version": "0.1.7",
"version": "0.1.9",
"description": "Web extension for interacting with one or more Platypush instances via browser",
"author": "Fabio Manganiello <info@fabiomanganiello.com>",
"license": "MIT",
@ -44,7 +44,7 @@
"babel-loader": "^8.0.2",
"copy-webpack-plugin": "^5.1.1",
"core-js": "^3.0.1",
"cross-env": "^5.2.0",
"cross-env": "^5.2.1",
"css-loader": "^3.4.0",
"ejs": "^2.6.1",
"eslint": "^6.6.0",

60
src/manifest-chrome.json Normal file
View File

@ -0,0 +1,60 @@
{
"name": "platypush",
"description": "Web extension for interacting with Platypush instances via browser and creating custom browser actions",
"version": "0.1.9",
"manifest_version": 2,
"icons": {
"16": "icons/icon-16.png",
"32": "icons/icon-32.png",
"48": "icons/icon-48.png",
"64": "icons/icon-64.png",
"128": "icons/icon-128.png",
"256": "icons/icon-256.png"
},
"permissions": ["activeTab", "storage", "notifications", "clipboardWrite", "contextMenus", "<all_urls>"],
"browser_action": {
"default_title": "platypush",
"default_popup": "popup/popup.html"
},
"background": {
"scripts": ["background.js"]
},
"options_ui": {
"page": "options/options.html",
"chrome_style": true
},
"content_scripts": [
{
"matches": ["*://*/*"],
"js": ["content.js"]
}
],
"commands": {
"user-command-1": {
"suggested_key": {
"default": "Ctrl+Shift+1"
},
"description": "User command 1"
},
"user-command-2": {
"suggested_key": {
"default": "Ctrl+Shift+2"
},
"description": "User command 2"
},
"user-command-3": {
"suggested_key": {
"default": "Ctrl+Shift+3"
},
"description": "User command 3"
},
"user-command-4": {
"suggested_key": {
"default": "Ctrl+Shift+4"
},
"description": "User command 4"
}
}
}

96
src/manifest-firefox.json Normal file
View File

@ -0,0 +1,96 @@
{
"name": "platypush",
"description": "Web extension for interacting with Platypush instances via browser and creating custom browser actions",
"version": "0.1.9",
"manifest_version": 2,
"icons": {
"16": "icons/icon-16.png",
"32": "icons/icon-32.png",
"48": "icons/icon-48.png",
"64": "icons/icon-64.png",
"128": "icons/icon-128.png",
"256": "icons/icon-256.png"
},
"permissions": ["activeTab", "storage", "notifications", "clipboardRead", "clipboardWrite", "contextMenus", "<all_urls>"],
"browser_action": {
"default_title": "platypush",
"default_popup": "popup/popup.html"
},
"background": {
"scripts": ["background.js"]
},
"options_ui": {
"page": "options/options.html",
"chrome_style": true
},
"content_scripts": [
{
"matches": ["*://*/*"],
"js": ["content.js"]
}
],
"commands": {
"user-command-0": {
"suggested_key": {
"default": "Ctrl+Alt+0"
},
"description": "User command 0"
},
"user-command-1": {
"suggested_key": {
"default": "Ctrl+Alt+1"
},
"description": "User command 1"
},
"user-command-2": {
"suggested_key": {
"default": "Ctrl+Alt+2"
},
"description": "User command 2"
},
"user-command-3": {
"suggested_key": {
"default": "Ctrl+Alt+3"
},
"description": "User command 3"
},
"user-command-4": {
"suggested_key": {
"default": "Ctrl+Alt+4"
},
"description": "User command 4"
},
"user-command-5": {
"suggested_key": {
"default": "Ctrl+Alt+5"
},
"description": "User command 5"
},
"user-command-6": {
"suggested_key": {
"default": "Ctrl+Alt+6"
},
"description": "User command 6"
},
"user-command-7": {
"suggested_key": {
"default": "Ctrl+Alt+7"
},
"description": "User command 7"
},
"user-command-8": {
"suggested_key": {
"default": "Ctrl+Alt+8"
},
"description": "User command 8"
},
"user-command-9": {
"suggested_key": {
"default": "Ctrl+Alt+9"
},
"description": "User command 9"
}
}
}

View File

@ -1,96 +0,0 @@
{
"name": "platypush",
"description": "Web extension for interacting with Platypush instances via browser and creating custom browser actions",
"version": "0.1.7",
"manifest_version": 2,
"icons": {
"16": "icons/icon-16.png",
"32": "icons/icon-32.png",
"48": "icons/icon-48.png",
"64": "icons/icon-64.png",
"128": "icons/icon-128.png",
"256": "icons/icon-256.png"
},
"permissions": ["activeTab", "storage", "notifications", "clipboardRead", "clipboardWrite", "contextMenus", "<all_urls>"],
"browser_action": {
"default_title": "platypush",
"default_popup": "popup/popup.html"
},
"background": {
"scripts": ["background.js"]
},
"options_ui": {
"page": "options/options.html",
"chrome_style": true
},
"content_scripts": [
{
"matches": ["*://*/*"],
"js": ["content.js"]
}
],
"commands": {
"user-command-0": {
"suggested_key": {
"default": "Ctrl+Alt+0"
},
"description": "User command 0"
},
"user-command-1": {
"suggested_key": {
"default": "Ctrl+Alt+1"
},
"description": "User command 1"
},
"user-command-2": {
"suggested_key": {
"default": "Ctrl+Alt+2"
},
"description": "User command 2"
},
"user-command-3": {
"suggested_key": {
"default": "Ctrl+Alt+3"
},
"description": "User command 3"
},
"user-command-4": {
"suggested_key": {
"default": "Ctrl+Alt+4"
},
"description": "User command 4"
},
"user-command-5": {
"suggested_key": {
"default": "Ctrl+Alt+5"
},
"description": "User command 5"
},
"user-command-6": {
"suggested_key": {
"default": "Ctrl+Alt+6"
},
"description": "User command 6"
},
"user-command-7": {
"suggested_key": {
"default": "Ctrl+Alt+7"
},
"description": "User command 7"
},
"user-command-8": {
"suggested_key": {
"default": "Ctrl+Alt+8"
},
"description": "User command 8"
},
"user-command-9": {
"suggested_key": {
"default": "Ctrl+Alt+9"
},
"description": "User command 9"
}
}
}

1
src/manifest.json Symbolic link
View File

@ -0,0 +1 @@
manifest-chrome.json