New Youtube: Flash Upgrade General Work-around for Opera v10.51+

Forums » Opera for Windows/Mac/Linux » Opera browser

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

16. April 2010, 12:05:26

Tairom

Posts: 3

New Youtube: Flash Upgrade General Work-around for Opera v10.51+

Yes this is a repost of bedded info you can find in a previous thread. It is reposted "clean" for 2 reasons. 1) Original solution authors are quoted and 2) easier to find this solution as a top post rather than a replied post.

As of 04/14/2010 YouTube began displaying an upgrade notice to some users of Opera browser. This occurs mostly with users who utilize the ad blocker functions within opera and seems to be tripping up YouTube into thinking that you either do not have flash installed or an older version of flash. Upgrading flash has no effect on the problem though, as you still can not view direct youtube videos. In researching googles forums for others with simular problems I came accros a decent thread with solutions that , for me and others at least, seems to fix the problem.

From the google forums user Snap100:

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 ...

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"



Next follow google forums user marianopicco's placement advice:

What you have to do is create the .js file, put it somewhere you can easily remember, like a folder in "my documents" Then go to setting, preferences, advanced, content, JavaScript Options. At the bottom you'll find a box that says "User JavaScript folder". In the box write the address to the folder containing the .js file, or click "Choose" and navigate to it.



Personally I would choose a folder to create within the opera directory hierarchy to place the .js file. I used C:\Program Files (x86)\Opera\program\javascript\ for mine.

I have tested this on a few dozen youtube poages and all is fine now. Hope this clears alot of peoples frustrations.

16. April 2010, 12:06:18

prd3

Posts: 928

Workaround? For what?

16. April 2010, 12:32:59

Doqnach

Posts: 234

Originally posted by prd3:

Workaround? For what?



http://my.opera.com/community/forums/topic.dml?id=524041&page=3#comment5147251

but the issue has been fixed by youtube now so it's no longer required.

16. April 2010, 14:07:32

Originally posted by Doqnach:

Originally posted by prd3:

Workaround? For what?



http://my.opera.com/community/forums/topic.dml?id=524041&page=3#comment5147251

but the issue has been fixed by youtube now so it's no longer required.



My understanding is it was fixed by Opera.

17. April 2010, 15:59:03

Tairom

Posts: 3

It is good the problem has been addressed. I will leave this post for a few more days for slow adopters then let it die.

17. April 2010, 20:44:19

Doqnach

Posts: 234

I did not do an update of opera and removed the userjs file and youtube worked again for me after people reporting it was working again for them.

don't know the specifics of who fixed what but that suggested to me that youtube fixed it at their end. could always have been a mutual fix ;-]

19. April 2010, 08:32:37

prd3

Posts: 928

but the issue has been fixed by youtube now so it's no longer required.


It was fixed before this thread was made, wasn't it?

20. April 2010, 02:27:06

zager

Posts: 296

Originally posted by Doqnach:

...removed the userjs file and youtube worked again for me after people reporting it was working again for them.



Will try it. Just delete the file? I added it the other day, enabled user.js today, and now hope for a fix to finally view videos.

20. April 2010, 02:52:33

zager

Posts: 296

C:\Program Files\Opera\user javascript\allblocker.js
C:\Program Files\Opera\user javascript\YoutubeProtectionRemover.js

Created folder \user javascript\ and dumped the files in the other day. Today followed some web instructions to activate user.js (still don't know why the checks for java in Tools did not activate this).

Again, just delete the YT script file?

9.64 on XP

20. April 2010, 03:26:07

Malakim

Posts: 61

Zager the problem with youtube lasted maybe a day, there isn't anything else that needs to be done except updating your old version of opera.

20. April 2010, 03:43:33

zager

Posts: 296

Malakim,

Thanks, but others are using older versions of Opera, and I think there must be something working for them too. ???

20. April 2010, 04:24:35

Quppa

Posts: 7

Can anyone else confirm that YouTube is still broken when 'Enable On Demand Plugin' is enabled in opera:config? (Latest snapshot.)

(Without using the UserJS)

20. April 2010, 10:14:12

rallye

Posts: 125

Originally posted by Quppa:

Can anyone else confirm that YouTube is still broken when 'Enable On Demand Plugin' is enabled in opera:config? (Latest snapshot.)

(Without using the UserJS)



Yes, it's still broken...
http://my.opera.com/community/forums/findpost.pl?id=5195781

Forums » Opera for Windows/Mac/Linux » Opera browser