YousableTubeFix

By Mindeye Last update Feb 2, 2012 — Installed 594,994 times.

yousabletubefox for chrome?

in
Subscribe to yousabletubefox for chrome? 8 posts, 3 voices



superaktieboy Scriptwright

i have tried installing it into chrome but without success.. any chance of making it chrome compatible?

 
Mindeye Script's Author

Have you tried installing the Opera version of the script instead?

 
superaktieboy Scriptwright

just tried that one.. didn't work either

 
Mindeye Script's Author

What extension are you using to add scripts to Chrome? I'd try to install it and see why it doesn't work

 
hiteshgv User

Chrome doesn't have any extension capability yet, it has some basic support for user scripts but gm_* fuctions and unsafewindow are not supported.
more here - http://dev.chromium.org/developers/design-docum....

i used the foll snippet and added it to this script (removed conf settings code and gm_* functions), uploaded it and used it in bookmarklet

if(typeof unsafeWindow == "undefined"){ var unsafeWindow=window; }
function addStyle(cssString){
var styleEl=createNode("style",{type:"text/css"},{textContent:cssString});
document.getElementsByTagName("head")[0].appendChild(styleEl);
}

Link to modified script usable on chrome as bookmarklet
http://cid-e9399e34b4d38edf.skydrive.live.com/s...

Minified Js
http://cid-e9399e34b4d38edf.skydrive.live.com/s...

I use this Bookmark url to minified version(works on chrome)
javascript:document.getElementsByTagName('head')[0].appendChild(document.createElement('script')).setAttribute('src','http://3mlkww.bay.livefilestore.com/y1ph8Xop4R7kF-bo0C5CPzZnFkPajtjjbvvrDoL9Dk1MwsCdu7a0PqzP7VAvhHlUgFLwlIXJioX9gTBbJH5XaFFig/22 Jan 2009 - Mindeye 13333(min).user.js?download');

This is the 22 jan version script. i tried latest update and modified it but it gives an error in chrome (something array has no filter attri...), maybe its because chrome has a different javascript engine.

anyway, hope it helps someone.

Mindeye, again thanks for this great script, since i use chrome and i only use ur script and whenever u update i try to update and use it.

 
Mindeye Script's Author

hiteshgv: It's easier if you use the Opera version as a bookmarklet (it doesn't have GM functions, has an addStyle function too, configuration and update code is removed and it uses a function to implement array generics, etc...). You'll have to remove the function wrapper and add an @include to the header

I have done some test with Chrome, but it doesn't seem to report userscript errors in the javascript console, so it's more difficult to debug

 
hiteshgv User

Yes, i tried today ur script for opera and it worked on chrome as bookmarklet perfect. Thank you Mindeye..

 
Mindeye Script's Author
FirefoxWindows

I have made a port of the script for Chrome here

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel