• 0

Need help converting a bookmarklet please


Question

Hi,

I've got the bookmarklet for TinyURL which is java script:void(location.href='http://<< spam >>/create.php?url='+location.href)

I would like it to pop up in a window like SnipURL's which is java script:var%20d=document,w=window,f='http://snipurl.com/site/snip',l=d.location,e=encodeURIComponent,p='?link='+e(l.href)%20+'&title='+e(d.title),u=f+p;try{if(!/^(.*\.)?(snipurl|snurl|snipr)[^.]*$/.test(l.host))throw(0);}catch(z){a%20=function(){if(!w.open(u,'t','height=500,width=500,title=no,location=no,modal=yes,dependent=yes,status=1,scrollbars=yes,menubars=no,toolbars=no,re

sizable=yes'))l.href=u;};if(/Firefox/.test(navigator.userAgent))setTimeout(a,0);else%20a();}void(0)

Can someone please show me how to create a TinyURL bookmarklet that will pop up in a window? I tried replacing the addresses in snipurl's but it didn't do anything.

Thank you!

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.