Popup Video(WebExtension)
Popup Youtube/Twitch video to standalone window.
Additional files are visible only to premium users
manifest.json
{
"description": "__MSG_extDescription__",
"manifest_version": 2,
"name": "__MSG_extName__",
"version": "0.0.10",
"homepage_url": "https://github.com/ettoolong/PopupVideo",
"icons": {
"16": "icon/logo.svg",
"32": "icon/logo.svg",
"48": "icon/logo.svg",
"64": "icon/logo.svg",
"96": "icon/logo.svg"
},
"browser_specific_settings": {
"gecko": {
"id": "PopupVideoWebExt@ettoolong",
"strict_min_version": "57.0"
}
},
"author": "Ett Chung",
"background": {
"scripts": [
"background.js",
"launch-video.js",
"lib/get-video-id.js",
"lib/site-regex.js",
"lib/query-string.js",
"lib/get-youtube-url.js",
"lib/get-twitch-url.js",
"lib/get-vimeo-url.js",
"lib/get-dailymotion-url.js"
]
},
"content_scripts": [
{
"matches": [
"*://*.youtube.com/embed/*"
],
"js": [
"overlay/hotkey_yt.js"
],
"run_at": "document_start"
},
{
"matches": [
"*://*.youtube.com/*"
],
"js": [
"overlay/overlay_yt.js",
"overlay/icon-overlay.js"
],
"css": [
"overlay/icon-overlay.css"
],
"run_at": "document_start"
},
{
"matches": [
"*://*.twitch.tv/*"
],
"js": [
"overlay/overlay_twitch.js",
"overlay/icon-overlay.js"
],
"css": [
"overlay/icon-overlay.css"
],
"run_at": "document_start"
},
{
"matches": [
"*://*.dailymotion.com/*"
],
"js": [
"overlay/overlay_dm.js",
"overlay/icon-overlay.js"
],
"css": [
"overlay/icon-overlay.css"
],
"run_at": "document_start"
},
{
"matches": [
"*://*.vimeo.com/*"
],
"js": [
"overlay/overlay_vimeo.js",
"overlay/icon-overlay.js"
],
"css": [
"overlay/icon-overlay.css"
],
"run_at": "document_start"
}
],
"permissions": [
"https://player.vimeo.com/video/*",
"https://*.youtube.com/*",
"storage",
"tabs",
"contextMenus",
"webRequest",
"webRequestBlocking"
],
"default_locale": "en",
"options_ui": {
"page": "options.html",
"open_in_tab": false
}
}