Pieces for Developers: Copilot & Code Capture

Pieces for Developers: Copilot & Code Capture

Save, share, generate and understand code snippets & concepts to boost your productivity during online research and problem-solving.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "manifest_version": 3,
  "name": "Pieces for Developers: Copilot & Code Capture",
  "short_name": "Pieces",
  "version": "2.9.4",
  "description": "Save, share, generate and understand code snippets & concepts to boost your productivity during online research and problem-solving.",
  "author": "Rutvik Tak",
  "homepage_url": "https://pieces.app",
  "icons": {
    "16": "/images/icons/icon16.png",
    "128": "/images/icons/icon128.png"
  },
  "sidebar_action": {
    "default_panel": "index.html",
    "default_title": "Pieces Web Extension",
    "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": {
    "savePiece": {
      "suggested_key": {
        "default": "Alt+Shift+S",
        "mac": "Command+Shift+S"
      },
      "description": "Save the highlighted text as a snippet."
    }
  },
  "content_security_policy": {
    "extension_pages": "script-src 'self'; object-src 'self'; script-src-elem 'self';"
  },
  "content_scripts": [
    {
      "js": [
        "content.js",
        "content.dart.js"
      ],
      "matches": [
        "<all_urls>"
      ],
      "run_at": "document_idle",
      "all_frames": false
    }
  ],
  "background": {
    "scripts": [
      "background.js"
    ],
    "type": "module"
  },
  "permissions": [
    "activeTab",
    "contextMenus",
    "storage",
    "scripting",
    "clipboardWrite"
  ],
  "host_permissions": [
    "https://*/*",
    "http://*/*"
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "index.html"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ],
  "browser_specific_settings": {
    "gecko": {
      "id": "[email protected]",
      "strict_min_version": "42.0"
    }
  }
}