SmartClip Firefox

Examine source code of SmartClip

By: 麦可
Inspect and view changes in SmartClip source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 3,
  "name": "__MSG_extName__",
  "version": "1.9.0",
  "description": "__MSG_extDescription__",
  "default_locale": "en",
  "action": {
    "default_icon": "assets/logo.png"
  },
  "options_ui": {
    "page": "dist/options/index.html",
    "open_in_tab": true
  },
  "background": {
    "scripts": [
      "dist/background/index.mjs"
    ],
    "type": "module"
  },
  "icons": {
    "16": "assets/logo-16.png",
    "32": "assets/logo-32.png",
    "48": "assets/logo-48.png",
    "128": "assets/logo-128.png"
  },
  "permissions": [
    "tabs",
    "storage",
    "scripting",
    "downloads",
    "notifications",
    "clipboardWrite",
    "alarms",
    "contextMenus"
  ],
  "host_permissions": [
    "*://*/*"
  ],
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "dist/contentScripts/index.global.js"
      ]
    }
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "dist/sidepanel/index.html",
        "dist/sidepanel/*",
        "dist/assets/*",
        "assets/logo.png",
        "assets/context.png",
        "assets/applogo/flomo.svg",
        "assets/icons/*"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ],
  "content_security_policy": {
    "extension_pages": "script-src 'self'; object-src 'self'; connect-src 'self' https: ws: ws://127.0.0.1:18365 http://localhost:* http://127.0.0.1:* http://*.local"
  },
  "commands": {
    "quick-clip": {
      "suggested_key": {
        "default": "Ctrl+Shift+S",
        "mac": "Command+Shift+S"
      },
      "description": "__MSG_command_quickClip__"
    },
    "open-sidepanel": {
      "suggested_key": {
        "default": "Ctrl+Shift+L",
        "mac": "Command+Shift+L"
      },
      "description": "__MSG_command_openSidepanel__"
    },
    "open-sidepanel-chat": {
      "suggested_key": {
        "default": "Ctrl+Shift+K",
        "mac": "Command+Shift+K"
      },
      "description": "__MSG_command_openSidepanelChat__"
    },
    "open-options": {
      "suggested_key": {
        "default": "Ctrl+Shift+P",
        "mac": "Command+Shift+P"
      },
      "description": "__MSG_command_openOptions__"
    }
  },
  "browser_specific_settings": {
    "gecko": {
      "id": "{bf987134-cf9d-42c5-bd6e-442ea0b7a7c9}",
      "strict_min_version": "140.0",
      "data_collection_permissions": {
        "required": [
          "websiteContent"
        ],
        "optional": [
          "technicalAndInteraction"
        ]
      }
    },
    "gecko_android": {
      "strict_min_version": "142.0"
    }
  }
}

Best SmartClip Alternatives

Here are some Firefox add-ons that are similar to SmartClip: