Document Scanner

Document Scanner

Scan documents on web pages and directly save them as attachments or images in web apps like Gmail, Outlook, and Salesforce.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "action": {
    "default_icon": "[email protected]",
    "default_popup": "popup.html"
  },
  "author": "Dynamsoft Web TWAIN Team",
  "background": {
    "service_worker": "background.js"
  },
  "content_scripts": [
    {
      "css": [],
      "js": [
        "Resources/dynamsoft.scanner.js",
        "Resources/src/dynamsoft.lts.js",
        "dwtContent.js"
      ],
      "matches": [
        "https://*.google.com/*",
        "https://*.gmail.com/*",
        "https://*.outlook.live.com/*",
        "https://*.force.com/*",
        "https://*.salesforce.com/*",
        "https://*.outlook.office.com/*",
        "https://*.outlook.office365.com/*"
      ],
      "run_at": "document_end"
    },
    {
      "css": [],
      "js": [
        "Resources/jquery.js",
        "Resources/src/dynamsoft.webtwain.viewer.js",
        "Resources/dynamsoft.chromeExtension.gmail.js"
      ],
      "matches": [
        "https://*.google.com/*",
        "https://*.gmail.com/*"
      ],
      "run_at": "document_end"
    }
  ],
  "description": "Scan documents on web pages and directly save them as attachments or images in web apps like Gmail, Outlook, and Salesforce.",
  "externally_connectable": {
    "matches": [
      "*://*.google.com/*",
      "*://*.force.com/*",
      "*://outlook.live.com/*",
      "*://*.mail.google.com/*",
      "*://inbox.google.com/*",
      "*://*.inbox.google.com/*",
      "*://force.com/*",
      "*://salesforce.com/*",
      "*://*.salesforce.com/*",
      "*://*.outlook.live.com/*",
      "*://outlook.office.com/*",
      "*://*.outlook.office.com/*",
      "*://outlook.office365.com/*",
      "*://*.outlook.office365.com/*"
    ],
    "unused": [
      "*://drive.google.com/*",
      "*://*.drive.google.com/*",
      "*://onedrive.live.com/*",
      "*://*.onedrive.live.com/*",
      "*://onedrive.office.com/*",
      "*://*.onedrive.office.com/*",
      "*://onedrive.office365.com/*",
      "*://*.onedrive.office365.com/*",
      "*://dynamsoft.com/*",
      "*://*.dynamsoft.com/*"
    ]
  },
  "host_permissions": [
    "https://*.google.com/",
    "https://*.gmail.com/"
  ],
  "icons": {
    "16": "icon16.png",
    "32": "icon32.png",
    "48": "icon48.png",
    "128": "icon128.png"
  },
  "manifest_version": 3,
  "name": "Document Scanner",
  "options_page": "options.html",
  "permissions": [
    "activeTab",
    "scripting",
    "storage"
  ],
  "short_name": "Document Scanner",
  "update_url": "https://clients2.google.com/service/update2/crx",
  "version": "2.1.0522",
  "web_accessible_resources": [
    {
      "matches": [
        "http://*/*",
        "https://*/*"
      ],
      "resources": [
        "Resources/*",
        "*"
      ]
    }
  ]
}