Skip to content

Commit

Permalink
Merge pull request #26 from chrispederick/web-extension
Browse files Browse the repository at this point in the history
Porting the Firefox version to a WebExtension
  • Loading branch information
chrispederick authored Nov 22, 2017
2 parents 6711dc8 + 1835f7c commit 5ac88f3
Show file tree
Hide file tree
Showing 371 changed files with 3,987 additions and 25,025 deletions.
4 changes: 1 addition & 3 deletions configuration/chrome/configuration.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
common.prefix=
description=Adds a toolbar button with various web developer tools. The official port of the Web Developer extension for Firefox.
version=0.4.8
version=0.5.1
19 changes: 4 additions & 15 deletions configuration/chrome/manifest.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,4 @@
{
"background": { "page": "background/background.html" },
"browser_action": { "default_icon": { "19": "overlay/images/icon.png", "38": "overlay/images/icon-2x.png" }, "default_popup": "overlay/overlay.html", "default_title": "__MSG_extensionName__" },
"content_scripts": [{ "js": ["content/content.js"], "matches": ["<all_urls>"] }],
"default_locale": "en_US",
"description": "__MSG_extensionDescription__",
"homepage_url": "@url@",
"icons": { "16": "common/images/logos/16.png", "48": "common/images/logos/48.png", "128": "common/images/logos/128.png" },
"manifest_version": 2,
"name": "__MSG_extensionName__",
"options_page": "options/options.html",
"permissions": ["clipboardWrite", "contentSettings", "cookies", "history", "tabs", "<all_urls>"],
"version": "@version@",
"web_accessible_resources": ["*"]
}
{"remove-top": "",
"browser_action": { "default_icon": { "16": "/common/images/logos/16.png", "24": "/common/images/logos/24.png", "32": "/common/images/logos/32.png", "48": "/common/images/logos/48.png", "64": "/common/images/logos/64.png", "128": "/common/images/logos/128.png", "256": "/common/images/logos/256.png", "512": "/common/images/logos/512.png" }, "default_popup": "/overlay/overlay.html", "default_title": "__MSG_extensionName__" },
"permissions": ["browsingData", "clipboardWrite", "contentSettings", "cookies", "history", "storage", "tabs", "<all_urls>"],
"remove-bottom": ""}
6 changes: 2 additions & 4 deletions configuration/common/configuration.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
author=Chris Pederick
id=web-developer
description=Adds a toolbar button with various web developer tools.
name=Web Developer
namespace=WebDeveloper
preferences=webdeveloper
url=http://chrispederick.com/work/web-developer
url=http://chrispederick.com/work/web-developer/
3 changes: 3 additions & 0 deletions configuration/common/manifest-bottom.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{"remove-top": "",
"web_accessible_resources": ["*"]
}
12 changes: 12 additions & 0 deletions configuration/common/manifest-top.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"background": { "page": "/background/background.html" },
"content_scripts": [{ "js": ["/content/content.js"], "matches": ["<all_urls>"] }],
"default_locale": "en_US",
"description": "__MSG_extensionDescription__",
"homepage_url": "@url@",
"icons": { "16": "/common/images/logos/16.png", "24": "/common/images/logos/24.png", "32": "/common/images/logos/32.png", "48": "/common/images/logos/48.png", "64": "/common/images/logos/64.png", "128": "/common/images/logos/128.png", "256": "/common/images/logos/256.png", "512": "/common/images/logos/512.png" },
"manifest_version": 2,
"name": "__MSG_extensionName__",
"options_ui": { "page": "/options/options.html" },
"version": "@version@",
"remove-bottom": ""}
17 changes: 0 additions & 17 deletions configuration/firefox/chrome.manifest

This file was deleted.

4 changes: 1 addition & 3 deletions configuration/firefox/configuration.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
common.prefix=chrome://web-developer/content
description=Adds a menu and a toolbar with various web developer tools.
version=1.2.13
version=2.0.1
65 changes: 0 additions & 65 deletions configuration/firefox/install.rdf

This file was deleted.

4 changes: 4 additions & 0 deletions configuration/firefox/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{"remove-top": "",
"browser_action": { "browser_style": false, "default_icon": { "16": "/common/images/logos/16.png", "24": "/common/images/logos/24.png", "32": "/common/images/logos/32.png", "48": "/common/images/logos/48.png", "64": "/common/images/logos/64.png", "128": "/common/images/logos/128.png", "256": "/common/images/logos/256.png", "512": "/common/images/logos/512.png" }, "default_popup": "/overlay/overlay.html", "default_title": "__MSG_extensionName__" },
"permissions": ["clipboardWrite", "cookies", "history", "storage", "tabs", "<all_urls>"],
"remove-bottom": ""}
4 changes: 1 addition & 3 deletions configuration/opera/configuration.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
common.prefix=
description=Adds a toolbar button with various web developer tools. The official port of the Web Developer extension for Firefox.
version=0.2.2
version=0.3
19 changes: 4 additions & 15 deletions configuration/opera/manifest.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,4 @@
{
"background": { "page": "background/background.html" },
"browser_action": { "default_icon": { "19": "overlay/images/icon.png", "38": "overlay/images/icon-2x.png" }, "default_popup": "overlay/overlay.html", "default_title": "__MSG_extensionName__" },
"content_scripts": [{ "js": ["content/content.js"], "matches": ["<all_urls>"] }],
"default_locale": "en_US",
"description": "__MSG_extensionDescription__",
"homepage_url": "@url@",
"icons": { "16": "common/images/logos/16.png", "48": "common/images/logos/48.png", "128": "common/images/logos/128.png" },
"manifest_version": 2,
"name": "__MSG_extensionName__",
"options_page": "options/options.html",
"permissions": ["clipboardWrite", "cookies", "history", "tabs", "<all_urls>"],
"version": "@version@",
"web_accessible_resources": ["*"]
}
{"remove-top": "",
"browser_action": { "default_icon": { "16": "/common/images/logos/monochrome/16.png", "24": "/common/images/logos/monochrome/24.png", "32": "/common/images/logos/monochrome/32.png", "48": "/common/images/logos/monochrome/48.png", "64": "/common/images/logos/monochrome/64.png", "128": "/common/images/logos/monochrome/128.png", "256": "/common/images/logos/monochrome/256.png", "512": "/common/images/logos/monochrome/512.png" }, "default_popup": "/overlay/overlay.html", "default_title": "__MSG_extensionName__" },
"permissions": ["browsingData", "clipboardWrite", "cookies", "history", "storage", "tabs", "<all_urls>"],
"remove-bottom": ""}
Loading

0 comments on commit 5ac88f3

Please sign in to comment.