Code++

Code++

Code++ enriches code that you find online to enable better search and reuse by offering more context and metadata.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 3,
  "name": "Code++",
  "short_name": "Code++",
  "version": "1.0.1",
  "description": "Code++ enriches code that you find online to enable better search and reuse by offering more context and metadata.",
  "author": "Brandon Kunkel",
  "homepage_url": "https://codeplusplus.app/chrome",
  "options_page": "options.html",
  "icons": {
    "16": "/images/icons/icon16.png",
    "128": "/images/icons/icon128.png"
  },
  "action": {
    "default_popup": "index.html",
    "default_title": "Code++",
    "default_icon": {
      "16": "/images/icons/icon16.png",
      "24": "/images/icons/icon32.png",
      "32": "/images/icons/icon32.png",
      "48": "/images/icons/icon48.png",
      "96": "/images/icons/icon96.png",
      "128": "/images/icons/icon128.png"
    }
  },
  "commands": {
    "codeplusplus_copy_shortcut": {
      "suggested_key": {
        "default": "Alt+Shift+C",
        "mac": "Alt+Shift+C"
      },
      "description": "Copy text to clipboard with Code++ Context"
    }
  },
  "content_security_policy": {
    "extension_pages": "script-src 'self'; object-src 'self'; script-src-elem 'self'"
  },
  "content_scripts": [
    {
      "js": [
        "content.js"
      ],
      "matches": [
        "<all_urls>"
      ],
      "run_at": "document_idle",
      "all_frames": false
    }
  ],
  "background": {
    "service_worker": "background.js",
    "type": "module"
  },
  "permissions": [
    "activeTab",
    "contextMenus",
    "storage",
    "clipboardWrite"
  ],
  "host_permissions": [
    "https://*.runtime.dev/*"
  ]
}