Youtube Javascript Popout Bookmarklet
By John | June 27, 2008
I’ve been looking around the web for something like this for a while, and i found a userscript using greasemonkey, but it turned out to suck.
I looked into it and found out that the same thing could be achieved using three lines of javascript as a bookmarklet.
The Code:
javascript:var a = document.getElementById("embed_code").value;
newWindow= window.open("", "myWindow", "status = 1, height = 354, width = 435, resizable = 0" );
newWindow.document.write(a);
Just create new bookmark in your browsers bookmark toolbar and copy and paste the code into the location field.
Then the next time you are at a youtube video page, hit the bookmark, and the video will be displayed by itself in a small sub window. Enjoy.
Topics: Uncategorized | 2 Comments »
