In Page Lookup

In Page Lookup

Highlight a word & press some keys and a Wiki article will present itself before your eyes for your reading pleasure. Press some other keys and gone will be the article so you can continue on your browsing journey knowing just a bit more on a topic.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "name": "InPageLookup",
  "description": "Makes it so that you can look up works on a page without needing to navigate away from that page",
  "manifest_version": 2,
  "version": "2.1.3",
  "homepage_url": "https://github.com/TheOtherRealm/InPageLookup",
  "applications": {
    "gecko": {
      "id": "[email protected]"
    }
  },
  "browser_specific_settings": {
    "gecko": {
      "id": "[email protected]"
    }
  },
  "icons": {
    "48": "icons/otherlookup.png"
  },
  "background": {
    "scripts": [
      "background.js"
    ]
  },
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "/js/jquery-3.5.1.min.js",
        "/js/jquery-ui.min.js",
        "/pageMod.js",
        "/options.js"
      ],
      "css": [
        "css/stylsht.css",
        "css/jquery-ui.min.css"
      ],
      "all_frames": true
    }
  ],
  "options_ui": {
    "page": "html/options.html",
    "browser_style": true
  },
  "permissions": [
    "activeTab",
    "contextMenus",
    "<all_urls>",
    "tabs",
    "menus",
    "storage",
    "webNavigation"
  ],
  "commands": {
    "getSelectedPedia": {
      "suggested_key": {
        "default": "Ctrl+Alt+1",
        "linux": "Ctrl+Alt+1",
        "mac": "Command+Alt+1"
      },
      "description": "Look up a highlighted word or phrase in Wikipedia"
    },
    "getSelectedTionary": {
      "suggested_key": {
        "default": "Ctrl+Alt+2",
        "linux": "Ctrl+Alt+2",
        "mac": "Command+Alt+2"
      },
      "description": "Look up a highlighted word or phrase in Wiktionary"
    },
    "removeSelected": {
      "suggested_key": {
        "default": "Ctrl+Alt+3",
        "linux": "Ctrl+Alt+3",
        "mac": "Command+Alt+3"
      },
      "description": "Hide the iframe"
    }
  }
}