An optical character recognition (OCR) extension to extract and translate text from snapshot.
This extension can be used as a…
Premium users can view and search full source code, and see the source code differences
between two versions.
Upgrade to premium
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"manifest_version": 2,
"name": "OCR Scanner",
"version": "0.0.4",
"icons": {
"16": "assets/icon16.png",
"32": "assets/icon32.png",
"48": "assets/icon48.png",
"128": "assets/icon128.png"
},
"permissions": [
"activeTab",
"storage",
"identity",
"identity.email"
],
"content_scripts": [
{
"js": [
"contentscript.js"
],
"css": [
"contentscript.css"
],
"matches": [
"http://*/*",
"https://*/*",
"file:///*"
]
}
],
"background": {
"scripts": [
"background.js"
],
"persistent": false
},
"browser_action": {
"default_title": "Click me to extract and translate text",
"default_icon": {
"16": "assets/icon16.png",
"32": "assets/icon32.png",
"48": "assets/icon48.png",
"128": "assets/icon128.png"
}
}
}