LegeReader - Immersion Reading Tools
the perfection of reading experience,simple readermode,word hightlight,text to speech
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"version": "1.0.4",
"name": "__MSG_PKG_NAME__",
"manifest_version": 2,
"description": "__MSG_PKG_DESC__",
"default_locale": "en",
"browser_action": {
"default_title": "legereader"
},
"commands": {
"open-reader": {
"suggested_key": {
"default": "Ctrl+Shift+L",
"mac": "Command+Shift+L"
},
"description": "Open Reader Mode"
},
"toggle-theme-setting": {
"suggested_key": {
"default": "Ctrl+Shift+P",
"mac": "Command+Shift+P"
},
"description": "Toggle Theme Setting"
},
"toggle-voice-control": {
"suggested_key": {
"default": "Ctrl+Shift+A",
"mac": "Command+Shift+A"
},
"description": "Toggle Voice Control"
}
},
"icons": {
"16": "icons/on16.png",
"48": "icons/on48.png",
"128": "icons/on128.png"
},
"background": {
"page": "background.html"
},
"content_scripts": [
{
"matches": [
"<all_urls>"
],
"js": [
"./content.js"
],
"run_at": "document_idle",
"all_frames": false
}
],
"web_accessible_resources": [
"static/*",
"assets/*",
"content.html"
],
"permissions": [
"tts",
"contextMenus",
"storage",
"<all_urls>"
],
"options_page": "options.html",
"content_security_policy": "default-src 'self'; media-src *; https://api.legereader.com https://legereader.com https://fonts.gstatic.com; script-src 'self' https://www.google-analytics.com https://legereader.com; connect-src *; style-src * 'unsafe-inline' 'self' blob:; font-src *; img-src * data:;"
}