[PHP] wordpress modified press-this.php – Pastebin.com.


javascript:var%20d=document,w=window,e=w.getSelection,k=d.getSelection,x=d.selection,s=(e?e():(k)?k():(x?x.createRange().text:0)),f='http://hoge.com/wp-admin/press-this.php',l=d.location,e=encodeURIComponent,r=/youtube.com/i,t=d.title,n=(r.test(l.href)?'YouTube':d.title),u=f+'?u='+e(l.href)+'&t='+e(t)+'&n='+e(n)+'&s='+e(s)+'&v=4';a=function(){if(!w.open(u,'t','toolbar=0,resizable=1,scrollbars=1,status=1,width=720,height=570'))l.href=u;};if%20(/Firefox/.test(navigator.userAgent))%20setTimeout(a,%200);%20else%20a();void(0)