summaryrefslogtreecommitdiff
path: root/ext/manifest.json
blob: dc766795de34aa7662921d2facfc96b30f147129 (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
{
    "manifest_version": 2,
    "name": "Yomichan",
    "version": "0.992",

    "description": "Japanese dictionary with Anki integration",
    "icons": {"16": "img/icon16.png", "48": "img/icon48.png", "128": "img/icon128.png"},
    "browser_action": {"default_icon": {"19": "img/icon19.png", "38": "img/icon38.png"}},

    "author": "Alex Yatskov",
    "background": {"page": "bg/background.html"},
    "content_scripts": [{
        "matches": ["*://*/*", "file://*/*"],
        "js": [
            "fg/js/source-range.js",
            "fg/js/source-element.js",
            "fg/js/popup.js",
            "fg/js/util.js",
            "fg/js/driver.js"
        ],
        "css": ["fg/css/client.css"]
    }],
    "minimum_chrome_version": "45.0.0.0",
    "options_ui": {
        "page": "bg/options.html"
    },
    "permissions": ["file://*/*", "http://127.0.0.1/*", "storage"],
    "web_accessible_resources": [
        "fg/css/frame.css",
        "fg/img/add_kanji.png",
        "fg/img/add_term_kana.png",
        "fg/img/add_term_kanji.png",
        "fg/img/play_audio.png",
        "fg/js/frame.js",
        "fg/ttf/kanji-stroke-orders.ttf",
        "fg/ttf/vl-gothic-regular.ttf",
        "lib/bootstrap-3.3.6-dist/css/bootstrap-theme.min.css",
        "lib/bootstrap-3.3.6-dist/css/bootstrap.min.css",
        "lib/bootstrap-3.3.6-dist/fonts/glyphicons-halflings-regular.ttf",
        "lib/bootstrap-3.3.6-dist/fonts/glyphicons-halflings-regular.woff",
        "lib/bootstrap-3.3.6-dist/fonts/glyphicons-halflings-regular.woff2"
    ]
}