noscript blocking Load the YouTube Video Player On-Demand

Ask for help about NoScript, no registration needed to post
hejyhej
Posts: 3
Joined: Wed May 14, 2014 6:32 pm

Re: noscript blocking Load the YouTube Video Player On-Deman

Post by hejyhej »

mpapad wrote:
hejyhej wrote:
therube wrote:LOL. It just dawned on me, LOL.
OK, the "clip" in Gameguru will not load & does generate the cross-stie Javascript warning.

viewtopic.php?f=19&t=20117
Did you happen to dawn upon a solution to this problem, by chance?
First you need to download the script (https://labnol.googlecode.com/files/youtube.js) to your hard drive.
I've placed it in the folder C:\Youtubejs_surrogate

Then you need to go to about:config page and add two keys
1st key is
noscript.surrogate.ytjs.sources
with the value
https://labnol.googlecode.com/files/youtube.js

2nd key is
noscript.surrogate.ytjs.replacement
with the value
file:///C:/Youtubejs_surrogate/youtube.js

Thats it!
Sweet!

Thanks, comrade, this works perfectly now.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0
Post Reply