View Full Version : Anti-Stalker Module


Ebil_Master
11-14-2005, 11:32 PM
I have the code with me:

<script>/* Change your options here. See the documentation at http://suhock.net/xanga/xasm.html for more info. */var show = true;var title = "My Stalkers";var before = "My Blogrings";var sortby = "date";var order = "desc";var limit = 0;/* Don't change anything beyond this point, unless you know what you're doing (not that you would pay any attention to this warning if you do know what you're doing) */function getElement(id) { if(document.all) { return document.all[id]; } else { return document.getElementById(id); } } function getUser() { var user = ''; 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]; if (link.innerText) { user = link.innerText; } else if (link.text) { user = link.text; } break; } } return user;}var tagname = 'script';function getOwner() { var url = document.URL; var b = url.indexOf("?user="); if (b==-1) b = url.indexOf("&user="); if (b==-1) return getUser(); b += 6; var e = url.indexOf("&", b); if (e==-1) e = url.length; return url.substring(b, e);}</script>


I just wanted to know, how does it work, and how do i view the list of 'stalkers'?

tokyo bleu
11-15-2005, 09:06 AM
I assume the module displays the list of visitors.

hellachillds
11-15-2005, 06:58 PM
if you go to that website and type in your username it will tell you your stalkers. i have the same one :)

Ebil_Master
11-15-2005, 09:16 PM
ty for that