Calibre Search

Search against your local desktop calibre library for books or authors using text or links that you select on web pages. Offers a context menu, keyboard shortcut (Ctrl+Q) and toolbar button options. No more need for manual copy/paste!
Premium users can view and search full source code, and see the source code differences between two versions.
Upgrade to premium
manifest.json
{
  "manifest_version": 2,
  "name": "Calibre Search",
  "version": "1.0.0",
  "description": "Search your local calibre library using selected text/links on a webpage.",
  "homepage_url": "https://github.com/kiwidude68/calibre-search-firefox",
  "default_locale": "en",
  "icons": {
    "48": "icons/calibre-search.svg"
  },
  "background": {
    "scripts": [
      "scripts/background.js"
    ]
  },
  "permissions": [
    "activeTab",
    "menus",
    "nativeMessaging",
    "storage",
    "tabs"
  ],
  "browser_specific_settings": {
    "gecko": {
      "id": "[email protected]",
      "strict_min_version": "57.0"
    }
  },
  "options_ui": {
    "page": "options/options.html",
    "browser_style": true
  },
  "commands": {
    "calibre-search": {
      "suggested_key": {
        "default": "Ctrl+Q"
      },
      "description": "Search default library using selected text"
    }
  },
  "browser_action": {
    "browser_style": true,
    "default_icon": "icons/calibre-search.svg",
    "default_title": "Calibre Search"
  },
  "content_scripts": [
    {
      "matches": [
        "http://*/*",
        "https://*/*"
      ],
      "js": [
        "scripts/content.js"
      ]
    }
  ]
}