PopUp Encyclopedia Firefox

Examine source code of PopUp Encyclopedia

作者: Parth Parikh
Inspect and view changes in PopUp Encyclopedia source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 2,
  "name": "PopUp Encyclopedia",
  "version": "2.2.1",
  "description": "Popup Encyclopedia which works offline and popups when a word is double-clicked.",
  "homepage_url": "https://github.com/pncnmnp/PopUp-Encyclopedia",
  "icons": {
    "48": "icons/popup-48.png"
  },
  "permissions": [
    "https://en.wikipedia.org/w/api.php?*",
    "activeTab",
    "contextMenus"
  ],
  "browser_action": {
    "default_icon": "icons/popup-48.png",
    "default_title": "PopUp Encyclopedia",
    "default_popup": "popup/get_meaning.html"
  },
  "web_accessible_resources": [
    "popup/dictionary.txt",
    "stemmer/PorterStemmer1980.js"
  ],
  "commands": {
    "_execute_browser_action": {
      "suggested_key": {
        "default": "Alt+Shift+M"
      },
      "description": "opens the Encyclopedia"
    }
  },
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "./popup/popup.js"
      ]
    }
  ]
}

最佳 PopUp Encyclopedia 替代方案

这里是一些与PopUp Encyclopedia类似的Firefox add-on: