PiP View
Add a button to YouTube™ to pop the video out into a new resizable window.
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"manifest_version": 2,
"version": "1.2",
"name": "__MSG_name__",
"description": "__MSG_description__",
"default_locale": "en",
"permissions": [
"<all_urls>",
"storage"
],
"content_security_policy": "script-src 'unsafe-eval' 'self' https://www.youtube.com https://s.ytimg.com https://ssl.google-analytics.com; object-src 'self'",
"background": {
"page": "debug.html"
},
"browser_action": {
"default_popup": "views/dialog.html"
},
"content_scripts": [
{
"matches": [
"http://www.youtube.com/*",
"https://www.youtube.com/*"
],
"js": [
"content/js/stone.js"
],
"css": [
"content/css/stone.css"
]
},
{
"matches": [
"<all_urls>"
],
"exclude_matches": [
"http://www.youtube.com/*",
"https://www.youtube.com/*"
],
"js": [
"views/assets/js/cs-dialog.js"
],
"css": [
"views/assets/cs-dialog.css"
]
}
],
"icons": {
"128": "views/assets/icons/popup-icon.png"
}
}