Thread: Opera 10.5
View Single Post
Old 04-15-2010, 01:58 PM   #26
Hack&Lube
Atomic Nerd
 
Join Date: Jul 2004
Location: Calgary
Exp:
Default

Youtube's messing around with their new format and ads has messed up something with Opera and Youtube.

Get this:
http://my.opera.com/chooseopera/blog...15/youtube-fix

This will also work for you if you use a youtube ad blocker to allow you to watch videos without annoying youtube ads.

Or:

1 - Save this to a txt (make sure you copy all from the start "// ==UserScript==" to the end "//end")

// ==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

2 - Rename it to "YoutubeProtectionRemover.js"
3 - write in your browser url bar, "opera:about" ... copy the address to "User JavaScript folder" ... go there ... then copy YoutubeProtectionRemover.js to the folder
4 - if you don't have a User Javascript Folder, press CTRL-F12 to bring up preferences, goto advanced, content, javascript options, and create a folder to put this saved .js file into.

Last edited by Hack&Lube; 04-15-2010 at 02:01 PM.
Hack&Lube is offline   Reply With Quote