I just checked out the simple bookmarklet. It's very similar to the
"bookmark" i just got working.

Here is the code I use for the current bookmark (which you just ad to
favorites and click on to create a shortened url).

javascript:void(location.href='
http://details.at/create.cfm?url='+encodeURIComponent(location.href))

Here is the code that Bit.ly wants you to drag to the toolbar to create
their simple bookmarklet. I'm going to have to break this down and figure
out what it all does and what I need out of it. I'm not that good with
Javascript.

javascript:var%20d=document,w=window,enc=encodeURIComponent,e=w.getSelection,k=d.getSelection,x=d.selection,s=(e?e():(k)?k():(x?x.createRange().text:0)),s2=((s.toString()=='')?s:('%22'+enc(s)+'%22')),f='
http://bit.ly/
',l=d.location,p='?v=3&u='+enc(l.href)%20+'&s='+enc(d.title)+'%20'+s2,u=f+p;try{if(!/^(.*\.)?tumblrzzz[^.]*$/.test(l.host))throw(0);tstbklt();}catch(z){a%20=function(){if(!w.open(u))l.href=u;};if(/Firefox/.test(navigator.userAgent))setTimeout(a,0);else%20a();}void(0)

-- 
Open BlueDragon Public Mailing List
 http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
 mailing list - http://groups.google.com/group/openbd?hl=en

 !! save a network - please trim replies before posting !!

To unsubscribe from this group, send email to 
openbd+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to