An extension to focus while watching videos, without having to get spied on by Google Analytics.

Latest Version

Version
1.1
Update
May 11, 2020
Size
76.9KiB
Developer
Category
Users
20
Rating
0 ★
Manifest Version
2
Web Store Status
Languages Support
English (United States)
See more
Permissions
Tabs
See more

Universal Picture in Picture Extension

If you ever want to work while watching a video in the background, chances are that whatever website you're using (YouTube, Twitch, Reddit, etc.) doesn't support Picture-in-Picture mode, the superior method of watching videos. With the Universal Picture in Picture extension, you can play all these sites and more in Picture-in-Picture mode. Anybody can contribute to the library of websites that are supported; all it takes is the target domain (ex: www.youtube.com) and the CSS selector pointing to the video (ex: #container video), and everybody with this extension installed can use Picture-in-Picture mode for the website at that domain. The extension is secure and doesn't run Google Analytics to spy on you, unlike some official options. The most important thing about this extension is that it is community-built, unlike many other extensions, which come bundled with a few websites supported and no updates for more obscure websites (one favorite of mine is southpark.cc.com).
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Universal Picture in Picture", "version": "1.1", "description": "An extension to focus while watching videos, without having to get spied on by Google Analytics.", "manifest_version": 2, "content_security_policy":"script-src 'self' https://www.gstatic.com/ https://*.firebaseio.com https://www.googleapis.com; object-src 'self'", "content_scripts": [{ "matches": ["http://*/*", "https://*/*"], "js": ["content.js"], "run_at": "document_end", "all_frames": true }], "background": { "page": "background.html" }, "permissions": [ "tabs" ], "icons": { "16": "images/get_started16.png", "32": "images/get_started32.png", "48": "images/get_started48.png", "128": "images/get_started128.png" }, "page_action": { "default_icon": { "16": "images/disabled16.png", "32": "images/disabled32.png", "48": "images/disabled48.png", "128": "images/disabled128.png" }, "default_title":"Picture in Picture", "default_popup":"popup.html" }}
Read more