Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install

TinyURL Popup Preview

This script enables you to check *safely* where the TinyURL links redirect to (as a TITLE attribute popup).

Imagine if a TinyURL redirects to NOT the URL an userscript displays, but a dangerous webpage...!

The strongest point of this script is using "preview.tinyurl.com" to find out which URL the TinyURLs redirect to, while other scripts doing the same things uses other uncertain websites.

This script assures not to deceive you. Check the source, there is no suspicious HTTP request!





1 point
login to vote
khopesh scriptwright
Posted Oct 6, 2008 3:05pm

For links.snapshotLength, the Firefox Error Console reports Component is not available. Where is snapshotLength supposed to be defined? Does this script have an unspecified dependency? It certainly seems to exist in the documentation, but it's not working for me on Firefox 3.0.1 for Linux (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008071618 Iceweasel/3.0.1 (Debian-3.0.1-1)). Ideas?

Update: I solved this by changing the for loop declaration to
for (var i = 0; i < links.snapshotLength; i++) instead of trying to conserve lookup time by saving the length before running. No idea why that was needed, but this works for me now.

Thanks for this script! It is important to me (for privacy reasons) to get a version of this script that doesn't send data through a third party (the way the others do). The Interceptor 2.1, LongURL Mobile Expander, and even the so-called Tin Foil Hat scripts all fail on this front, depending on some third-party CGI API.

This script would be more locatable if you added some tags, like: tinyurl, tinyurl preview

1 point
login to vote
no_master user
Posted Mar 14, 2008

This script does exactly the same as this script: "Tin Foil Hat old" http://userscripts.org/scripts/show/3548 . That script also uses the tinyurl preview page (source code says: http://tinyurl.com/preview.php?num= )

Isn't preview.tinyurl.com and http://tinyurl.com/preview.php?num= the same thing?

Either way I think that this script beats them both: "Interceptor 1.2" http://userscripts.org/scripts/show/23817
It also uses the preview.tinyurl.com in the source code.

The "interceptor 2.1" is the ruler of "Tin Foil Hat new": http://userscripts.org/scripts/show/11410 which does not use preview.tinyurl.com

Comment about the redirecting bebo example not working:
Yeah this is really annoying... Even though I have the RedirectRemover Extension installed, which does that, when I point at the bebo link it shows me the tinyurl adress in the statusbar, it doesn't work for me either (links redirecting tinyurl which redirects long url, instead of just tinyurl redirecting to long url)
I would like to see someone come up with an solution for this too.
Chill

1 point
login to vote
Yuichirou script's author
Posted Jan 4, 2008

> Script doesn't seem to work when redirecting from (for example) bebo.

I just checked links directly linking to "tinyurl.com", but your idea sounds good.

Now I edited the script to accept such cases.

1 point
login to vote
Olan user
Posted Jan 1, 2008

Script doesn't seem to work when redirecting from (for example) bebo. Copied link location is: http://www.bebo.com/Link.jsp?Url=http%3A%2F%2Ft...

[shows up as http://www.bebo.com/Link.jsp?Url=http://tinyurl... in the link preview pane on firefox]

1 point
login to vote
Yuichirou script's author
Posted Dec 14, 2007

> Very nice - but already done.

Yeah, I know. But this script has a stronger point from that script.

I just wrote the strong point above.

1 point
login to vote
wagstaff scriptwright
Posted Nov 18, 2007

This is the link I intended...

1 point
login to vote
wagstaff scriptwright
Posted Nov 18, 2007

Very nice - but already done.

(I was thinking about doing this myself; but looked to see if anyone had go there first...)

1 point
login to vote
Yuichirou script's author
Posted Nov 10, 2007

Touch links to TinyURL like this: http://tinyurl.com/6

You can see the full address as a TITLE attribute popup.

1 point
login to vote
pogue user
Posted Nov 3, 2007

This script doesn't seem to be working. Do popups need to be enabled or anything?

You could comment on this script if you were logged in.