|
|
@@ -0,0 +1,95 @@
|
|
|
+{
|
|
|
+ "manifest_version": 2,
|
|
|
+ "name" : "Markdown Viewer",
|
|
|
+ "version" : "3.3",
|
|
|
+ "description" : "Markdown Viewer",
|
|
|
+
|
|
|
+ "browser_action": {
|
|
|
+ "default_icon": {
|
|
|
+ "19" : "/images/icon19.png",
|
|
|
+ "38" : "/images/icon38.png"
|
|
|
+ },
|
|
|
+ "default_title": "Markdown Viewer",
|
|
|
+ "default_popup": "/content/popup.html"
|
|
|
+ },
|
|
|
+
|
|
|
+ "options_ui": {
|
|
|
+ "page": "content/options.html"
|
|
|
+ },
|
|
|
+
|
|
|
+ "background" : {
|
|
|
+ "scripts": [
|
|
|
+ "/vendor/marked.min.js",
|
|
|
+ "/vendor/remark.min.js",
|
|
|
+ "/vendor/remark-html.min.js",
|
|
|
+ "/vendor/remark-slug.min.js",
|
|
|
+ "/vendor/remark-frontmatter.min.js",
|
|
|
+
|
|
|
+ "/background/compilers/marked.js",
|
|
|
+ "/background/compilers/remark.js",
|
|
|
+
|
|
|
+ "/background/storage.js",
|
|
|
+ "/background/headers.js",
|
|
|
+ "/background/detect.js",
|
|
|
+ "/background/inject.js",
|
|
|
+ "/background/messages.js",
|
|
|
+ "/background/mathjax.js",
|
|
|
+
|
|
|
+ "/background/index.js"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+
|
|
|
+ "web_accessible_resources": [
|
|
|
+ "/themes/github.css",
|
|
|
+ "/themes/github-dark.css",
|
|
|
+
|
|
|
+ "/themes/godspeed.css",
|
|
|
+ "/themes/new-modern.css",
|
|
|
+ "/themes/torpedo.css",
|
|
|
+ "/themes/vostok.css",
|
|
|
+
|
|
|
+ "/themes/ghostwriter.css",
|
|
|
+ "/themes/radar.css",
|
|
|
+ "/themes/foghorn.css",
|
|
|
+ "/themes/markdown.css",
|
|
|
+ "/themes/markedapp-byword.css",
|
|
|
+ "/themes/solarized-dark.css",
|
|
|
+ "/themes/solarized-light.css",
|
|
|
+
|
|
|
+ "/themes/screen.css",
|
|
|
+ "/themes/markdown5.css",
|
|
|
+ "/themes/markdown6.css",
|
|
|
+ "/themes/markdown7.css",
|
|
|
+ "/themes/markdown8.css",
|
|
|
+ "/themes/markdown9.css",
|
|
|
+ "/themes/markdown-alt.css"
|
|
|
+ ],
|
|
|
+
|
|
|
+ "icons": {
|
|
|
+ "16" : "/images/icon16.png",
|
|
|
+ "48" : "/images/icon48.png",
|
|
|
+ "128": "/images/icon128.png"
|
|
|
+ },
|
|
|
+
|
|
|
+ "homepage_url": "https://addons.mozilla.org/en-US/firefox/addon/markdown-viewer-chrome/",
|
|
|
+
|
|
|
+ "permissions": [
|
|
|
+ "storage",
|
|
|
+ "file:///*",
|
|
|
+ "webRequest",
|
|
|
+ "webRequestBlocking"
|
|
|
+ ],
|
|
|
+
|
|
|
+ "optional_permissions": [
|
|
|
+ "https://*/",
|
|
|
+ "http://*/",
|
|
|
+ "*://*/"
|
|
|
+ ],
|
|
|
+
|
|
|
+ "applications": {
|
|
|
+ "gecko": {
|
|
|
+ "id": "[email protected]",
|
|
|
+ "strict_min_version": "57.0"
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|