HanziLens Firefox

Examine source code of HanziLens

By: 7ito Add-on
Inspect and view changes in HanziLens source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 2,
  "name": "HanziLens",
  "description": "Break down Chinese sentences into words with pinyin and definitions",
  "version": "1.1.4",
  "icons": {
    "16": "icon-16.png",
    "32": "icon-32.png",
    "48": "icon-48.png",
    "128": "icon-128.png"
  },
  "permissions": [
    "contextMenus",
    "activeTab",
    "storage",
    "notifications",
    "https://api.hanzilens.com/*"
  ],
  "commands": {
    "analyze-selection": {
      "suggested_key": {
        "default": "Alt+Shift+H",
        "mac": "Alt+Shift+H"
      },
      "description": "Analyze selected Chinese text"
    },
    "analyze-screenshot": {
      "suggested_key": {
        "default": "Alt+Shift+S",
        "mac": "Alt+Shift+S"
      },
      "description": "Analyze screenshot with HanziLens"
    }
  },
  "browser_specific_settings": {
    "gecko": {
      "id": "hanzilens@hanzilens.com",
      "strict_min_version": "140.0",
      "data_collection_permissions": {
        "required": [
          "websiteContent"
        ]
      }
    },
    "gecko_android": {
      "strict_min_version": "142.0"
    }
  },
  "background": {
    "scripts": [
      "background.js"
    ]
  },
  "browser_action": {
    "default_title": "HanziLens Settings",
    "default_popup": "popup.html"
  },
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "content-scripts/content.js"
      ]
    }
  ],
  "web_accessible_resources": [
    "content-scripts/content.css"
  ]
}

Best HanziLens Alternatives

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