33 lines
809 B
JSON
33 lines
809 B
JSON
{
|
|
"manifest_version": 2,
|
|
"name": "PeerTubeify",
|
|
"version": "0.4.2",
|
|
"description": "On YouTube, displays a link to the same video on PeerTube, if it exists.",
|
|
"homepage_url": "https://gitlab.com/Ealhad/peertubeify",
|
|
"icons": {
|
|
"16": "icons/icon16.png",
|
|
"48": "icons/icon48.png",
|
|
"128": "icons/icon128.png"
|
|
},
|
|
"permissions": [
|
|
"activeTab",
|
|
"storage",
|
|
"<all_urls>",
|
|
"webRequest",
|
|
"webRequestBlocking"
|
|
],
|
|
"background": {
|
|
"scripts": ["dist/background.js", "dist/vendors.js"]
|
|
},
|
|
"content_scripts": [{
|
|
"matches": ["*://*.youtube.com/*"],
|
|
"js": ["dist/youtube.js", "dist/vendors.js"]
|
|
}, {
|
|
"matches": ["https://*/videos/watch/*"],
|
|
"js": ["dist/peertube.js", "dist/vendors.js"]
|
|
}],
|
|
"options_ui": {
|
|
"page": "dist/options.html"
|
|
}
|
|
}
|