daily pastebin goal
78%
SHARE
TWEET

Fix Youtube Bookmarklet

a guest Feb 11th, 2014 72 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
Top