aboutsummaryrefslogtreecommitdiffhomepage
path: root/addon/manifest.json
blob: 92baf3049eab206fb8594bc5491df5d0224e20a0 (plain)
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
41
42
43
44
45
46
47
48
49
50
51
52
53
{
  "manifest_version": 2,
  "name": "MapInline",
  "version": "1.0",

  "description": "Add Interatctive Map",

  "icons": {
    "16": "icons/default-0.png",
    "32": "icons/default-1.png",
    "48": "icons/default-2.png"
  },

  "browser_action": {
    "default_title": "Map-Inline"
  },

  "content_scripts": [
    {
      "matches": [
        "*://developer.mozilla.org/*",
        "*://hackmd.io/*",
        "*://*.ptt.cc/*",
        "https://prosemirror.net/examples/*"
      ],
      "js": [
        "renderers/leaflet.js",
        "renderers/maplibre.js",
        "renderers/openlayers.js",
        "dumbymap.js",
        "index.js"
      ],
      "css": [
        "css/dumbymap.css"
      ]
    }
  ],

  "background": {
    "scripts": [
      "background.js"
    ],
    "persistent": false
  },

  "permissions": [
    "activeTab",
    "tabs",
    "scripting",
    "contextMenus",
    "<all_urls>"
  ]
}