It's available as a button to insert into any page eg Blogger, but it's especially handy for micro-blogging services like Twitter. You can also get it as a bookmarklet for when you're browsing around and come across a mysterious TinyURL.
The hack works by using Dapper to grab the URL from the TinyURL preview page and munging the resulting JSON object with regular expressions.
I cobbled this together as part of another project on URL manipulation and tagging, but thought it might be useful enough to release on its own. There's no reason why this approach couldn't be applied to other common-yet-cryptic URLs, like YouTube, so watch this space.
Any other suggestions, feedback, bug reports etc? Please leave a comment.
Filed in: webtech, hacks, tinyURL, bookmarklets





Seriously though, there's a welter of competing services. I don't think I've ever seen one "in the wild" that isn't TinyURL. Maybe I'm not visiting the right pages, but I think we've got a classic first-adopter scenario whereby they garner 90% of marketshare.
Still, the basic Embiggen approach can be very readily re-purposed by those with sufficient interest thanks to the Creative Commons licensing. (And, of course, the unusually good code comments!)
So steps one and two in your case would be something like this -- and then supply "Embiggen.dapperCallback" for Dapper, instead of "procURL". (The junk on the last line is to keep your current config style, if you want to remain compatible with it.)
$x('//div[@class="OnePost"][div/div/div[@class="PermFooterPost" and not(contains(.,"by Greg"))]]').map(function(d){d.style.display="none"})
:-)
I've seen this approach before from del.icio.us and the benefits of encapsulation struck me immediately. The explanation provided on the YUI blog is great!
Want a serious help from u . I recently updated my template but it showed slow loading time . I tweaked it a bit by removing HTML images and all and time improved but still it is quite slow . I knw the theme is heavy , but still if u can tweak it for me would be gr8 . Pls help me out ...
I can mail u my XML , if u agree ... Waiting in anticipation .
http://karenerickson.blogspot.com/
What did I do? How do I fix this?