Created
October 3, 2014 13:30
-
-
Save rubenv/0cf8fa2c2506b4150b2b to your computer and use it in GitHub Desktop.
Fix Yelo.be
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
document.addEventListener('DOMContentLoaded', function () { | |
var script = document.createElement("script"); | |
script.text = "window.Silverlight = { isInstalled: function() { return true; }, createObject: function() {}, };"; | |
document.head.appendChild(script); | |
}, false); | |
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Fix Yelo.be", | |
"version": "0.0.1", | |
"description": "Works around the idiotic decision that plain HTML pages require Silverlight nowadays.", | |
"manifest_version": 2, | |
"permissions": [ | |
"http://yelotv.be/" | |
], | |
"content_scripts": [ | |
{ | |
"matches": ["<all_urls>"], | |
"js": ["fixyelo.js"], | |
"run_at": "document_start" | |
} | |
], | |
"minimum_chrome_version": "21.0.1180.57" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment