James Fator

Pop out YouTube video using favorites bar

28 September 2013

Searched for a solution to quickly bring a youtube video into a new window like you used to be able to do and I was surprisingly disappointed. They have Chrome extensions and other plugins for different browsers, but I was interested in finding how to do it for myself.

Simply create a new favorites item then copy and paste this javascript code into the URL field:

javascript:void(window.open('https://www.youtube.com/tv?vq=high#/watch' + window.location.search, 'YouTube', 'height=480,width=854'));

Then next time you're watching a youtube video, you can simply click the bar item you created and a new window pops right up. I have my default size set to 480x854, but you can easily change those values if you want something different.