| 1 | Your $PASTTEXT URL is: <code><a href='$TIGHTURL' target='_blank'>$TIGHTURL</a></code> (opens in new window)<br /> |
| 2 | <br /> |
| 3 | That's $TIGHTURLLEN characters, which is $DIFF shorter than the $URLLEN characters of: <code>$URL</code>. |
| 4 | <form> |
| 5 | <input type="hidden" name="tighturl" value="$TIGHTURL"> |
| 6 | </form> |
| 7 | |
| 8 | <script language="javascript"> |
| 9 | // copy URL to clipboard for IE |
| 10 | url=document.all("tighturl").createTextRange(); |
| 11 | url.select(); |
| 12 | url.execCommand("copy"); |
| 13 | // copy URL to clipboard for Mozilla |
| 14 | var clipboard = Components.classes["@mozilla.org/widget/clipboardhelper;1"].getService(Components.interfaces.nsIClipboardHelper); |
| 15 | clipboard.copyString(href); |
| 16 | </script> |
| 17 | |