Tr.im Bookmarklet

So if you're like me you send people a lot of links to stuff and sometimes they can be absurdly long (think a link to Google Maps with directions from Puget Sound, Washington to Bayou La Batre, Alabama). However, I hate having to actually GO to a URL shortening site like bit.ly or tr.im, type in the URL, wait for the page to reload and then copy the URL from there. Why not just have a simple bookmarklet that you can fire open on any page you are browsing and get a short url right there? Well, I've created a bookmarklet that does just that.

Source (www.subprint.com)


Download Bookmarklet:


View Bookmarklet Code:

Bookmarklet Source Code:

javascript%3Avar%2520j%3Ddocument.createElement%28%22script%22%29%3Bj.setAttribute%28%22src%22%2C%2520%22http%3A//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js%22%29%3Bdocument.getElementsByTagName%28%22body%22%29%5B0%5D.appendChild%28j%29%3Bvoid%280%29%3Bvar%2520u%3Ddocument.createElement%28%22script%22%29%3Bu.setAttribute%28%22src%22%2C%2520%22http%3A//www.subprint.com/labs/imgly/js/jquery-ui-1.7.1.custom.min.js%22%29%3Bdocument.getElementsByTagName%28%22body%22%29%5B0%5D.appendChild%28u%29%3Bvoid%280%29%3Bvar%2520s%3Ddocument.createElement%28%22script%22%29%3Bs.setAttribute%28%22src%22%2C%2520%22http%3A//www.subprint.com/labs/trim/js/redirect.js%22%29%3Bdocument.getElementsByTagName%28%22body%22%29%5B0%5D.appendChild%28s%29%3Bvoid%280%29%3B


Rate it:


Tags:

Comments

Comments so far. Add yours.