YouTube AdBlock iFrame
This YouTube AdBlock iFrame module allows you to replace YouTube videos with iframes. Ads are blocked on iframes due to cross-origin resource sharing (CORS) restrictions.
Premium users can view and search full source code, and see the source code differences
between two versions.
Upgrade to premium
manifest.json
{
"manifest_version": 2,
"name": "YouTube AdBlock iFrame",
"version": "1.0.1",
"description": "This YouTube AdBlock iFrame module allows you to replace YouTube videos with iframes. Ads are blocked on iframes due to cross-origin resource sharing (CORS) restrictions.",
"icons": {
"32": "icons/icon-32.png",
"96": "icons/icon-96.png"
},
"permissions": [
"*://*.youtube.com/*"
],
"content_scripts": [
{
"matches": [
"*://*.youtube.com/*",
"*://youtube.com/*",
"*://youtu.be/*"
],
"js": [
"main.js"
],
"run_at": "document_idle"
}
],
"browser_specific_settings": {
"gecko": {
"id": "{1d8c4bfa-6e76-4bcb-a492-06670fc7179d}"
}
}
}