Weava Highlighter - PDF & Web

Weava Highlighter - PDF & Web

Best highlighting tool for Website and PDF. FREE and easy to use.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 3,
  "name": "__MSG_extension_name__",
  "short_name": "Weava Highlighter",
  "version": "2.0.44",
  "default_locale": "en",
  "description": "__MSG_extension_description__",
  "icons": {
    "16": "assets/images/logo/16.png",
    "19": "assets/images/logo/19.png",
    "32": "assets/images/logo/32.png",
    "38": "assets/images/logo/38.png",
    "48": "assets/images/logo/48.png",
    "64": "assets/images/logo/64.png",
    "96": "assets/images/logo/96.png",
    "128": "assets/images/logo/128.png",
    "256": "assets/images/logo/256.png"
  },
  "permissions": [
    "contextMenus",
    "declarativeNetRequest",
    "scripting",
    "storage",
    "tabs",
    "unlimitedStorage",
    "webNavigation",
    "webRequest",
    "notifications"
  ],
  "host_permissions": [
    "http://*/*",
    "https://*/*",
    "file://*/*.pdf*",
    "*://*.weavatools.com/*",
    "https://weava-files-storage.s3.amazonaws.com/pdf/*",
    "https://weava-files-storage-dev.s3.amazonaws.com/pdf/*"
  ],
  "action": {
    "default_title": "__MSG_extension_name__",
    "default_icon": {
      "16": "assets/images/logo/16.png",
      "19": "assets/images/logo/19.png",
      "32": "assets/images/logo/32.png",
      "38": "assets/images/logo/38.png",
      "48": "assets/images/logo/48.png",
      "64": "assets/images/logo/64.png",
      "96": "assets/images/logo/96.png",
      "128": "assets/images/logo/128.png",
      "256": "assets/images/logo/256.png"
    }
  },
  "content_scripts": [
    {
      "matches": [
        "http://*/*",
        "https://*/*",
        "file://*/*.pdf*"
      ],
      "js": [
        "contentPage.js"
      ],
      "run_at": "document_idle"
    }
  ],
  "background": {
    "service_worker": "backgroundPage.js"
  },
  "web_accessible_resources": [
    {
      "resources": [
        "index.html",
        "styles.css",
        "main.js",
        "polyfills.js",
        "runtime.js",
        "assets/images/*",
        "src/pdfviewer/web/viewer.html",
        "src/pdfviewer/web/embed-pdf-viewer.js",
        "src/pdfviewer/web/assets/*.js",
        "src/pdfviewer/web/elements/*.js",
        "src/webviewer/viewer.html",
        "src/webviewer/communicator.html",
        "src/webviewer/embed-web-viewer.js",
        "src/webviewer/reset.css",
        "src/webviewer/elements/*.js"
      ],
      "matches": [
        "<all_urls>"
      ],
      "extension_ids": [],
      "use_dynamic_url": false
    }
  ],
  "content_security_policy": {
    "extension_pages": "script-src 'self'; script-src-elem 'self'; object-src 'self'"
  },
  "externally_connectable": {
    "matches": [
      "*://*.weavatools.com/*"
    ]
  },
  "commands": {
    "TOGGLE_HIGHLIGHT_MODE_BY_SHORTCUT": {
      "suggested_key": {
        "default": "Alt+S"
      },
      "description": "Enable/Disable Weava"
    },
    "TOGGLE_WEAVA_SIDEBAR": {
      "suggested_key": {
        "default": "Alt+W"
      },
      "description": "Toggle Weava Sidebar"
    },
    "HIGHLIGHT_COLOR_01": {
      "description": "create highlight using highlight color #01"
    },
    "HIGHLIGHT_COLOR_02": {
      "description": "create highlight using highlight color #02"
    },
    "HIGHLIGHT_COLOR_03": {
      "description": "create highlight using highlight color #03"
    },
    "HIGHLIGHT_COLOR_04": {
      "description": "create highlight using highlight color #04"
    },
    "HIGHLIGHT_COLOR_05": {
      "description": "create highlight using highlight color #05"
    },
    "HIGHLIGHT_COLOR_06": {
      "description": "create highlight using highlight color #06"
    },
    "HIGHLIGHT_COLOR_07": {
      "description": "create highlight using highlight color #07"
    },
    "HIGHLIGHT_COLOR_08": {
      "description": "create highlight using highlight color #08"
    },
    "HIGHLIGHT_COLOR_09": {
      "description": "create highlight using highlight color #09"
    },
    "HIGHLIGHT_COLOR_10": {
      "description": "create highlight using highlight color #10"
    }
  },
  "declarative_net_request": {
    "rule_resources": [
      {
        "id": "local_pdf_ruleset",
        "enabled": true,
        "path": "request_rules/local-pdf.json"
      }
    ]
  }
}