Forum Redirect
<head> <title>Redirecting to the comment</title> <style type=text/css> .redirect-message { text-align: center; position: relative; top: 40%; margin-top: -40px; font-family: Tahoma, arial, sans-serif; font-size: 0.95em; color: #333; } .redirect-message span, .redirect-message a { font-size: 0.85em; } </style> </head> <body> <div class="redirect-message"> Please wait while we redirect you to the comment. <br> <br> <span>If you are not redirected automatically, please click the link below.</span> <br> <br> <script type="text/javascript"> <!-- function gup( name ) { name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]"); var regexS = "[\\?&]"+name+"=([^&#]*)"; var regex = new RegExp( regexS ); var results = regex.exec( window.location.href ); if( results == null ) return ""; else return results[1]; } var parent = gup( 'parent' ); var anchor = gup( 'anchor' ); var bmc = "http://bmcenterprises.wikidot.com/" var hash = "#" function redirect() { window.top.location.href = "http://bmcenterprises.wikidot.com/" + parent + '#' + anchor; } redirect(); document.write('<a href="' + bmc + parent + hash + anchor + '">http://bmcenterprises.wikidot.com/' + parent + hash + anchor + '</a>'); //--> </script> </div> </body>
Discussion
Add a new comment