Highlight

Highlight

Highlight text on websites by toggling the highlighter extension or keyboard shortcut. Saves highlights on your device for future references.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "manifest_version": 2,
  "name": "Highlight by Trix",
  "description": "Highlight text on websites with a simple right-click or keyboard shortcut. Saves highlights on your device.",
  "version": "4.0.3",
  "icons": {
    "48": "images/48.png",
    "128": "images/128.png"
  },
  "browser_action": {
    "default_icon": {
      "16": "images/16.png",
      "48": "images/48.png",
      "128": "images/128.png"
    },
    "default_popup": "src/popup/popup.html"
  },
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "lib/jquery-3.6.0.js",
        "src/utils/storageManager.js",
        "src/utils/highlight.js",
        "src/utils/highlightV3.js",
        "src/utils/highlightV4.js",
        "src/utils/highlight_legacy.js",
        "src/utils/errorManager.js",
        "src/hoverTools/hoverTools.js",
        "src/contentScripts/loadHighlights.js",
        "src/contentScripts/highlighterCursor.js"
      ],
      "css": [
        "src/hoverTools/hoverTools.css"
      ],
      "all_frames": true
    }
  ],
  "background": {
    "page": "background.html",
    "persistent": false
  },
  "commands": {
    "execute-highlight": {
      "suggested_key": {
        "default": "Alt+A",
        "mac": "Alt+A"
      },
      "description": "Highlight selected text"
    }
  },
  "permissions": [
    "contextMenus",
    "scripting",
    "storage",
    "activeTab",
    "<all_urls>"
  ],
  "web_accessible_resources": [
    "images/*.png",
    "images/*.svg",
    "src/hoverTools/hoverTools.html"
  ],
  "content_security_policy": "script-src 'self'; object-src 'self'",
  "browser_specific_settings": {
    "gecko": {
      "id": "trix@highlight"
    }
  }
}