Peek: Preview PDFs, Office files, and more
Preview documents, videos, music, and more with a mouse hover.
Additional files are visible only to premium users
manifest.json
{
"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": {
"scripts": [
"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"
}
},
"browser_specific_settings": {
"gecko": {
"id": "{1cea70bd-2da4-41b1-93e9-54dba64e7223}",
"strict_min_version": "106.0"
}
},
"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"
}
]
}