48 lines
1.3 KiB
JSON
48 lines
1.3 KiB
JSON
{
|
|
"manifest_version": 2,
|
|
"name": "Yomichan",
|
|
"version": "1.0.1",
|
|
|
|
"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": [
|
|
"webRequest",
|
|
"webRequestBlocking",
|
|
"file://*/*",
|
|
"http://127.0.0.1/*",
|
|
"https://ankiweb.net/*",
|
|
"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/img/spinner.gif",
|
|
"fg/js/frame.js",
|
|
"fg/frame.html",
|
|
"fg/ttf/kanji-stroke-orders.ttf",
|
|
"fg/ttf/vl-gothic-regular.ttf"
|
|
]
|
|
}
|