Page 2 of 2

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

Posted: Tue Oct 07, 2014 9:57 pm
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.