DjVu.js Viewer

DjVu.js Viewer

The extension is a local copy of the DjVu.js Viewer which is available on https://djvu.js.org/. It allows you to open links to .djvu files right in the browser and .djvu files from a local drive. Also, it processes <embed> tag with .djvu files.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "manifest_version": 2,
  "name": "DjVu.js Viewer",
  "short_name": "DV",
  "version": "0.10.0.0",
  "author": "RussCoder",
  "homepage_url": "https://github.com/RussCoder/djvujs",
  "description": "Opens links to .djvu files. Allows opening files from a local disk. Processes <object> & <embed> tags.",
  "background": {
    "scripts": [
      "background.js"
    ]
  },
  "content_security_policy": "script-src 'self'; object-src 'self';",
  "content_scripts": [
    {
      "matches": [
        "*://*/*"
      ],
      "js": [
        "content.js"
      ],
      "all_frames": true,
      "run_at": "document_end"
    }
  ],
  "permissions": [
    "storage",
    "webRequest",
    "webRequestBlocking",
    "<all_urls>",
    "contextMenus"
  ],
  "web_accessible_resources": [
    "viewer.html"
  ],
  "icons": {
    "16": "djvu16.png",
    "32": "djvu32.png",
    "48": "djvu48.png",
    "64": "djvu64.png",
    "96": "djvu96.png"
  },
  "browser_action": {
    "default_icon": {
      "16": "djvu16.png",
      "32": "djvu32.png",
      "48": "djvu48.png",
      "64": "djvu64.png",
      "96": "djvu96.png"
    }
  },
  "browser_specific_settings": {
    "gecko": {
      "id": "{626cd593-a802-4463-b3ba-fd4ccb081fb3}"
    }
  }
}