Mandarin + Cantonese Dictionary
Mandarin & Cantonese dictionary with Pinyin + Jyutping pronunciation
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"manifest_version": 2,
"name": "Mandarin + Cantonese Dictionary",
"short_name": "Chinese Dict",
"version": "1.1.0",
"author": "Zhongwen by Christian Schiller, changes by Michal Tusino",
"homepage_url": "https://github.com/mtusnio/chinesedict",
"description": "Mandarin & Cantonese dictionary with Pinyin + Jyutping pronunciation",
"icons": {
"16": "images/logo-16x16.png",
"48": "images/logo-48x48.png",
"192": "images/logo-128x128.png"
},
"browser_action": {
"default_icon": "images/logo-48x48.png",
"default_title": "Chinese Popup Dictionary"
},
"background": {
"page": "background.html"
},
"content_scripts": [
{
"matches": [
"<all_urls>"
],
"js": [
"js/jquery-3.3.1.min.js",
"js/zhuyin.js",
"content.js"
],
"css": [
"css/content.css"
],
"all_frames": true
}
],
"options_ui": {
"page": "options.html",
"open_in_tab": true
},
"permissions": [
"contextMenus",
"tabs"
],
"commands": {
"_execute_browser_action": {
"description": "Enable/Disable Dictionary"
}
},
"web_accessible_resources": [
"css/*",
"js/*",
"images/*"
]
}