I've redone the script I made so it will truncate long links and reflow the browser back to the correct width.
http://pastebin.com/PiHashrP
Same instructions as above.
http://pastebin.com/PiHashrP
Same instructions as above.

