Peek: Preview PDFs, Office files, and more

Peek: Preview PDFs, Office files, and more

Preview documents, videos, music, and more with a mouse hover.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 3,
  "name": "Peek: Preview PDFs, Office files, and more",
  "short_name": "Peek",
  "version": "6.0",
  "author": "Corbin Davenport",
  "description": "Preview documents, videos, music, and more with a mouse hover.",
  "homepage_url": "https://github.com/corbindavenport/peek",
  "options_ui": {
    "page": "settings.html",
    "open_in_tab": true
  },
  "permissions": [
    "storage"
  ],
  "host_permissions": [
    "*://*/*"
  ],
  "background": {
    "service_worker": "js/background.js"
  },
  "icons": {
    "32": "img/icon_x32.png",
    "48": "img/icon_x48.png",
    "128": "img/icon_x128.png"
  },
  "web_accessible_resources": [
    {
      "resources": [
        "img/arrow-up-right-circle.svg",
        "img/gear.svg"
      ],
      "matches": [
        "*://*/*"
      ]
    }
  ],
  "action": {
    "default_icon": {
      "32": "img/icon_x32.png",
      "48": "img/icon_action_x48.png",
      "128": "img/icon_action_x128.png"
    },
    "action": {}
  },
  "content_scripts": [
    {
      "matches": [
        "http://*/*",
        "https://*/*"
      ],
      "js": [
        "js/popper.min.js",
        "js/tippy-bundle.umd.min.js",
        "js/purify.js",
        "js/peek.js"
      ],
      "css": [
        "css/peek.css"
      ],
      "run_at": "document_end"
    },
    {
      "matches": [
        "https://www.threads.net/*utm_source=peek_extension*"
      ],
      "css": [
        "css/threads.css"
      ],
      "all_frames": true,
      "run_at": "document_end"
    },
    {
      "matches": [
        "https://embed.reddit.com/r/*utm_source=peek_extension*"
      ],
      "css": [
        "css/reddit.css"
      ],
      "all_frames": true,
      "run_at": "document_end"
    }
  ]
}