inherit
123128
0
Feb 3, 2020 13:53:38 GMT -8
Malagrond
Remember, remember the 5th of November.
813
April 2008
malagrond
|
Post by Malagrond on Apr 7, 2009 10:35:55 GMT -8
Global HeaderNote: Supports "Link To Post". Just click the "Link To Post" on the exact post you want a shorter URL for, then scroll to the top of the thread and copy the link as usual. Preview: click <script> <!-- /* Thread Shorter URL by Malagrond */
// No need to edit below except for support. var forumurl = location.host; if(location.href.match(/thread=(.+?)/gi) && !location.href.match(/(action=post|action=modifypost|action=deletepost)/gi)){ var threadID = location.href.split("thread=")[1]; var boardID = location.href.split("board=")[1].split("&thread")[0]; if(location.href.match(/board=(.+?)&action=display/gi)){ boardID = location.href.split("board=")[1].split("&action=")[0]; } var compURL = forumurl+"?goto="+boardID+"|"+threadID; document.write("<center><a href='"+compURL+"'><b>This Thread's ShortURL</b></a></center>"); } if(location.href.match("goto=")){ var boardid = location.href.split("goto=")[1].split("|")[0]; var threadid = location.href.split("|")[1]; location = forumurl+"?action=display&board="+boardid+"&thread="+threadid; } --> </script>
~Mala
|
|