Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Converting script to Make TinyURL!' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Converting script to Make TinyURL!
Authored by: LouieNet on Jan 15, '04 09:27:35PM
When I tried converting the javascript to send a URL to TinyURL for conversion, I found that it sent the colon as %3A, and TinyURL wasn't able to parse it as a colon. Then I managed to find that on the homepage, it already lists the right code to use:
javascript:void(location.href='http://tinyurl.com/create.php?url='+location.href)
Now, you make a smaller URL before emailing it out! :)

Louie

---
G4 cube, 1152M RAM, OS X Server 10.2.8
17" Powerbook G4, 1G RAM, OS X 10.2.8

[ Reply to This | # ]