a9863de95e
Permission is required to do XHR request to the domain. Otherwise Gecko attempts to use CORS to negotiate the request, which AnkiConnect does not expect.
38 lines
1.1 KiB
JSON
38 lines
1.1 KiB
JSON
{
|
|
"manifest_version": 2,
|
|
"name": "Yomichan",
|
|
"version": "0.3",
|
|
|
|
"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": ["*://*/*"],
|
|
"js": ["fg/js/range.js", "fg/js/popup.js", "fg/js/api.js", "fg/js/client.js"],
|
|
"css": ["fg/css/client.css"]
|
|
}],
|
|
"minimum_chrome_version": "45.0.0.0",
|
|
"options_ui": {
|
|
"page": "bg/options.html"
|
|
},
|
|
"permissions": ["*://127.0.0.1/*", "storage"],
|
|
"web_accessible_resources": [
|
|
"fg/css/frame.css",
|
|
"fg/img/add_kanji.png",
|
|
"fg/img/add_vocab_kana.png",
|
|
"fg/img/add_vocab_kanji.png",
|
|
"fg/img/pronounce.png",
|
|
"fg/js/frame.js",
|
|
"fg/ttf/kanji-stroke-orders.ttf",
|
|
"fg/ttf/vl-gothic-regular.ttf"
|
|
],
|
|
"applications": {
|
|
"gecko": {
|
|
"id": "yomichan-gecko@example.com"
|
|
}
|
|
}
|
|
}
|