Guest User

Fix Youtube Bookmarklet

a guest
Feb 11th, 2014
204
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. javascript:var%20str=window.location.href;var%20url_parts=str.split('?');var%20host=url_parts%5B0%5D;var%20params=url_parts.slice(1)%5B0%5D.split('&');var%20watch_id='';for(var%20z=0;%20z%3Cparams.length;%20z++)%7Bvar%20nv=params%5Bz%5D.split('=');if(nv%5B0%5D=='v')%7Bwatch_id=nv%5B1%5D;%20break;%7D%7Dwindow.location='https://youtube.com/embed/'+watch_id;
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×