Fixing Youtube on Opera
Yesterday evening I spend some time watching videos on YouTube. Everything worked fine as expected. But suddenly I got this error:
Not a single YouTube worked anymore. So I cleaned the cache, cookies etc (you never know). Still didn’t work. Tried on another Opera installation, still didn’t work. The only thing that worked were embedded YouTube-videos. So I started looking for a solution.
Luckily there is one, found here. It works by adding a user javascript.
- Store this script below somewhere. For example “C:\\Users\\YourUser\\Documents\\Opera\\YouTubeFix”
- Right-Click on the Youtube-Site, choose “Site preferences”.
- Switch to the Tab “Scripting” and point the ‘”User JavaScript Folder” to the location where the script is. For example “C:\\Users\\YourUser\\Documents\\Opera\\YouTubeFix”.
- Enjoy YouTube =)
This file contains hidden or 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
// ==UserScript== | |
// @name YoutubeProtectionRemover | |
// @include http://www.youtube.com/* | |
// @description Removes lame protection on YouTube | |
// @copyright 2010, Snap | |
// ==/UserScript== | |
window.opera.addEventListener( | |
'BeforeScript', | |
function (ev){ | |
ev.element.text = ev.element.text.replace("yt.flash.update(swfConfig, forceUpdate);",""); | |
}, | |
false); | |
//end |
I really hope that YouTube fixes this issue soon.
- VS 2010, Resharper 5.0, JIT geek stuff and Doctor Who
- Blackpool