Youtube Protection Remover

Removes lame protection on YouTube

This message was posted by Rijk on the my.opera blog.
"Use 'Help > Check for Updates' to get the freshly updated browser.js that will work around the Youtube problem for now. With this update, you don't need to manually install a user javascript anymore."
~Zotlan

Removes lame protection on YouTube. Old flash? Go Upgrade! fixer. Script author is Snap

Snap100's original description:

This is a lame solution to "block" the videos to those who uses flashblockers, or adblockers, or etc ... google wants you to watch every one of their ads, i guess money is never enough ...

As a programmer was extremely easy to write a workaround for this, but take in count that i ONLY use Opera, so this will only work for Opera users ...

Installation Instructions: 

To install UserJS files you must first create a folder for them on your PC. Where you create this folder and what you call it is entirely up to you. Next, go to file->preferences->advanced->content->Javascript Options and select the User Javascript folder you just created. Then, download the .js file from this site and put it in the folder. 

If you are using Opera 10.10 or later you can use the UJS manager Unite application to install and manage your scripts. If you have it installed, simply open the script in Opera and an installation button will appear.

Scripts take effect on a page after reloading it.

Tested with Opera version(s): 
10.50
Your rating: None Average: 4.9 (19 votes)

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

(No subject)

(No subject)

Awesome!

I've been using Flash-blocker and this recent "update" in YouTube broke it. You fixed their brokeness!

  In You Tube -Old Flash     

  In You Tube -Old Flash      ?                   Go Upgrade       ?

it keeps saying Old Flash? GO

it keeps saying Old Flash? GO UPGRADE!

Have you done this? "Use

Have you done this?

"Use 'Help > Check for Updates' to get the freshly updated browser.js that will work around the Youtube problem for now. With this update, you don't need to manually install a user javascript anymore."

That helped!

That helped!

// ==UserScript==" to the end

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

// ==UserScript==" to the end

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

// ==UserScript==" to the end

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

YoutubeProctecionRemover.js

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

(No subject)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

By submitting this form, you accept the Mollom privacy policy.