May 26, 2009 4:22 PM PDT

Preview tiny URLs in Firefox

by Tom Merritt
  • Font size
  • Print
  • 10 comments
Share
Tiny URLs are often used in e-mail, Twitter, and other places to shorten a long URL into a much more convenient, short version. They're those little URLs that say tinyurl.com/pkp9cl or bit.ly/pTe77 or some such thing.

But there's a security risk there. You don't know where that URL is going. It could be a map, or the pictures of your friend's vacation. Or it could be a malicious Web site that hijacks your computer installs a Trojan and keylogger, and you never even know. You just think the Web site's broken.

The key is to hover over any URL to make sure it's sending you somewhere you trust. But tiny URLs only show the shortened URL when you hover over them.

So you can take one of two security precautions.

1. Never click on a shortened URL.

2. Use a Firefox plug-in that Sam in Melbourne, Australia, told me about, called bit.ly preview, which lets you see the whole URL that a tiny URL will redirect you to. Here's how it works.

Go to addons.mozilla.org and download the add-on and install it in Firefox.

The first time you run it, you'll need to enter a bit.ly log-in and API key. Go to bit.ly and sign up for an account if you don't have one. Then click on the account page.

Copy the API key and paste it into the field back on the options screen, then add in your log-in name and press the save button. Then close the add-ons window.

Now when you hover over any bit.ly URL, you'll see the full URL and page title. It's supposed to work with other tiny URL services, but I could only make it work for Bit.ly. Which still makes it very useful for Twitter.

Another Twitter-specific add-on that works for all links is Power Twitter. It translates every link in Twitter from a URL to a linked title of the page you're going to. It still won't let you see the full URL, but you'll have a much better idea by the title than you would have otherwise.

It also does other cool things like embed videos and pictures so you don't have to link out to them. Just remember to pay attention to that *before* you click and you'll be a little safer.

Recent posts from CNET TV
Top 5 worst holiday tech gifts
CNET Top 5 Sony Reader Touch edition giveaway - official rules
Real Deal Podcast 190: Online TV and movies
Forward Yahoo Mail to Gmail for free
Top 5 video game characters
Batteryless MacBook sleep trick
Surf the Net like it's 1991 with Gopher
Holiday Help Desk show notes: November 30
Add a Comment (Log in or register) (10 Comments)
  • prev
  • 1
  • next
by assman May 26, 2009 5:29 PM PDT
These would be better as greasemonkey scripts rather than entire firefox extensions..

in fact, there already is at least one script written for greasemonkey that performs this function: http://userscripts.org/scripts/show/40582
Reply to this comment
by Scykei May 26, 2009 7:27 PM PDT
I want that for Google Chrome!!!
Reply to this comment
by nikola99 May 26, 2009 8:32 PM PDT
The link for bit.ly preview is going to: http://cnettv.cnet.com/https://addons.mozilla.org/en-US/firefox/addon/10297. Should be https://addons.mozilla.org/en-US/firefox/addon/10297.
Same with Power Twitter.
Reply to this comment
by jake3373 May 27, 2009 6:41 PM PDT
https:// URLs always mess up CNET blogs... I've seen same error b4 on CNET
by kitchmepil20 May 26, 2009 9:55 PM PDT
We're sorry, but the page you requested could not be found. <--- very funny!
Reply to this comment
by rolandrickperry May 27, 2009 4:31 AM PDT
much easier solution is

give your recipients confidence with a preview TinyURL:
http://preview.tinyurl.com/2dfmty

[Open in new window]

or http://preview.tinyurl.com/2dfmty
Reply to this comment
by pjk0 May 27, 2009 6:25 PM PDT
Roland is correct: the author of the article is guilty of either not understanding the subject they're writing about (tell me it isn't so!), or penning yet another article as a Firefox/Mozilla cheerleader. (seems to be quite trendy amongst the Cnet crowd these days)
by jake3373 May 27, 2009 6:45 PM PDT
You can turn on preview for any tinyurl at tinyurl.com - requires cookies
by jake3373 May 27, 2009 6:46 PM PDT
You can turn on preview for any tinyurl at tinyurl.com - requires cookies, but works in ANY Web Browser!!!
by jsobrier May 29, 2009 8:08 AM PDT
The potential security issue with short URLs is an important point. That is why I've attempted to address it with http://safe.mn/ This URL shorterner scans each new short link for viruses, adult content, phishing, XSS, etc. Only safe links are redirected transparently. Links flagged as potentially unsafe display a warning (see http://safe.mn/2) to the visitor.
Reply to this comment
(10 Comments)
  • prev
  • 1
  • next
advertisement
Click Here

About CNET TV

CNET TV is where you get your video fix on the coolest gadgets, the latest gear, and up-to-the-minute tech reviews and news. And the CNET TV blog provides you a behind-the-scenes look at our shows, personalities, and even upcoming site features.

Add this feed to your online news reader

CNET TV Twitter Feeds

CNET TV topics

CNET TV bloggers

Brian Cooley
Molly Wood
Tom Merritt
Justin Eckhouse
Brian Tong

Get the CNET TV newsletter

Would you like a wrap-up of the week's hottest CNET TV videos delivered directly to your in-box? Then sign up for the weekly CNET TV newsletter, delivered every Friday.
Subscribe now!