TwitterMedia

By Vivek Puri Last update Apr 21, 2009 — Installed 2,426 times.

Hint (with caveat)

in
Subscribe to Hint (with caveat) 3 posts, 2 voices



LucasR Scriptwright

If, like me, you already use a script that expands URLs from bit.ly and tinyurl, you can stop them interfering with each other by editing the script, and commenting out the calls to processBitly() and processTiny().

DISCLAIMER: I've only just tried this, and I'm not sure whether this will actually *disable* some of the stuff this script does - show YouTube videos, for example. Vivek, what effect does it have?

 
Vivek Puri Script's Author

LucasR - Sorry for the delayed reply. So what the script really does it first looks at each URL type, like tinyurl.com or bit.ly. In either case, it determines the real url behind the code, which can be youtube.com or something else. Once script has this real url it calls the required show* function(like showYoutube). In other words, this script does not expand the existing URLs to show them on the front-end. It just uses those URLs internally.

 
LucasR Scriptwright

Thanks very much for clarifying, Vivek!

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel