aboutsummaryrefslogtreecommitdiff
path: root/manifest.json
blob: aa2fbf79c780e89b6fedd0a4fdc7f1488cef0fa7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{

  "manifest_version": 2,
  "name": "Redirector",
  "description": "Automatically redirect pages based on user-defined rules. E.g. always redirect an article url to its printer-friendly version.",
  "version": "3.0",
  
  "icons": {   "16": "images/icon-active-16.png",
               "32": "images/icon-active-32.png",
               "48": "images/icon-active-48.png",
               "64": "images/icon-active-64.png",
              "128": "images/icon-active-128.png" },

  "permissions" : ["webRequest", "webRequestBlocking", "storage", "tabs", "http://*/*", "https://*/*"],
  
  "applications": {
    "gecko": {
      "id": "redirector@einaregilsson.com"
    }
  },

 "background": {
    "scripts": ["js/redirect.js", "js/background.js"],
    "persistent": true
  },

  "options_ui": {
    "page": "popup.html",
    "chrome_style": true
  },

  "browser_action": {
    "default_icon": {
      "19": "images/icon-active-19.png",
      "38": "images/icon-active-38.png" 
    },
    "default_title": "Redirector",
    "default_popup": "popup.html"
  }
}