DarkAznBlo0d
07-28-2005, 04:54 PM
ok. is there a code or something that like blocks someone forever. like them not seeing ur xanga at all? there r some ppl that like to put bad stuff in my chatbox but i got rid of it now. but i know who they r.
|
View Full Version : i need help DarkAznBlo0d 07-28-2005, 04:54 PM ok. is there a code or something that like blocks someone forever. like them not seeing ur xanga at all? there r some ppl that like to put bad stuff in my chatbox but i got rid of it now. but i know who they r. tokyo bleu 07-28-2005, 08:29 PM Your visitors can change their IP addresses, rendering whatever "blocking-forever code" useless. DemolitionMan50 07-29-2005, 10:27 PM This code blocks certain Xanga users and unregistered users. Copy and paste this in your custom header: <!-- Part I of Block Users Script submitted by xanga.com/sherrys_designs --> <script LANGUAGE="JavaScript"> function redirect () { location.href = 'http://www.xanga.com/signin.aspx'; } </SCRIPT> Then copy and paste this in your webstats, making sure to first replace USERNAME with the username of whoever you want to block. Hope this helps! <!-- Part II of Block Users Script submitted by xanga.com/sherrys_designs --> <script language="javascript"> function getXName() { for (var i = 0; i < document.links.length; i++) { if (document.links[i].href.substring(0,38)=="http://www.xanga.com/private/home.aspx") { var link = document.links[i]; var text = document.all ? link.innerText : link.text ? link.text : ''; return text; break; }} return null; } xName = getXName(); if (xName == 'USERNAME' || xName == 'USERNAME' || xName == null) { alert("Sorry, you are either blocked from this site or not logged in."); redirect(); } </script> |