Преглед изворни кода

Add firefox specific configuration

simov пре 8 година
родитељ
комит
e9186a60ad
1 измењених фајлова са 19 додато и 2 уклоњено
  1. 19 2
      manifest.json

+ 19 - 2
manifest.json

@@ -13,7 +13,12 @@
     "default_popup": "/content/popup.html"
   },
 
+  // chrome
   "options_page": "/content/options.html",
+  // firefox
+  // "options_ui": {
+  //   "page": "content/options.html"
+  // },
 
   "background" : {
     "scripts": [
@@ -26,8 +31,9 @@
       "/background/marked.js",
       "/background/remark.js",
       "/background/background.js"
-    ],
-    "persistent": false
+    ]
+    // chrome
+    , "persistent": false
   },
 
   "web_accessible_resources": [
@@ -67,6 +73,9 @@
   "permissions": [
     "storage",
     "file:///*"
+    // firefox
+    // , "webRequest"
+    // , "webRequestBlocking"
   ],
 
   "optional_permissions": [
@@ -74,4 +83,12 @@
     "http://*/",
     "*://*/"
   ]
+
+  // firefox
+  // , "applications": {
+  //   "gecko": {
+  //     "id": "[email protected]",
+  //     "strict_min_version": "57.0"
+  //   }
+  // }
 }