OCR It Firefox

Examine source code of OCR It

提供元: Thiago Lima Add-on
Inspect and view changes in OCR It source codes across current and past versions
xHeader
Modify request and response headers. No ads, no malware.
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 3,
  "name": "OCR It",
  "version": "0.3.0",
  "description": "Pin a capture region once, then hit a hotkey on every page to OCR that exact spot. Runs fully offline.",
  "permissions": [
    "activeTab",
    "scripting",
    "storage",
    "unlimitedStorage",
    "tabs",
    "alarms"
  ],
  "optional_host_permissions": [
    "<all_urls>"
  ],
  "background": {
    "scripts": [
      "vendor/tesseract.min.js",
      "src/background.js"
    ],
    "type": "module"
  },
  "action": {
    "default_title": "OCR It",
    "default_popup": "src/popup/popup.html",
    "default_icon": {
      "16": "icons/icon16.png",
      "32": "icons/icon32.png",
      "48": "icons/icon48.png",
      "128": "icons/icon128.png"
    }
  },
  "icons": {
    "16": "icons/icon16.png",
    "32": "icons/icon32.png",
    "48": "icons/icon48.png",
    "128": "icons/icon128.png"
  },
  "commands": {
    "capture-region": {
      "suggested_key": {
        "default": "Alt+Shift+S",
        "mac": "Alt+Shift+S"
      },
      "description": "Capture the saved region and OCR it"
    },
    "set-region": {
      "suggested_key": {
        "default": "Alt+Shift+R",
        "mac": "Alt+Shift+R"
      },
      "description": "Draw / redraw the capture region"
    },
    "toggle-run": {
      "suggested_key": {
        "default": "Alt+Shift+A",
        "mac": "Alt+Shift+A"
      },
      "description": "Start / stop the automatic capture run"
    }
  },
  "content_security_policy": {
    "extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self'"
  },
  "browser_specific_settings": {
    "gecko": {
      "id": "ocr-it@limascloud.com",
      "strict_min_version": "140.0",
      "data_collection_permissions": {
        "required": [
          "none"
        ]
      }
    }
  }
}

ベストのOCR It代替案

OCR Itに類似したFirefox add-onをいくつか紹介します: