Trans Frame
This Chrome extension enables translation by capturing images on web pages.
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"default_locale": "en",
"name": "__MSG_extName__",
"version": "1.1.0",
"description": "__MSG_extDescription__",
"manifest_version": 3,
"author": "DerDer Wang",
"action": {
"default_popup": "popup.html"
},
"sandbox": {
"pages": [
"sandbox.html"
]
},
"icons": {
"16": "public/icons/icon16.png",
"48": "public/icons/icon48.png",
"128": "public/icons/icon128.png"
},
"background": {
"service_worker": "src/background.js",
"type": "module"
},
"permissions": [
"contextMenus",
"activeTab",
"scripting",
"storage",
"tabs"
],
"content_scripts": [
{
"matches": [
"<all_urls>"
],
"js": [
"src/content_script.js",
"scripts/tesseract.min.js"
]
}
],
"host_permissions": [
"http://*/*",
"https://*/*"
],
"content_security_policy": {
"sandbox": "sandbox allow-scripts;"
}
}