Written for IPB1.3 / invisionfree
this simple script creates a link with will bring you to your profile, whoever uses it it will bring you to your profile.
example i am duv, i go to phantom-designs.net/index.php?act=myprofile
i will go to phantom-designs.net/index.php?showuser=1
now im myself, i go to phantom-designs.net/index.php?act=myprofile
i will go to i will go to phantom-designs.net/index.php?showuser=2831
Quote:
|
Originally Posted by copyright must remain active ALWAYS <script>
/* my profile link script by Godkillah
of phantom-designs.net */
var myprof = "act=myprofile"
evil = document.getElementById("userlinks").getElementsBy TagName("a");
for (me=0;me<5;me++){
if (evil[me].href.match("showuser=")){
var boo=evil[me].href.split(/showuser=/)[1].split("<")[0]
}
}
if(location.href.match(myprof)){
location.href="http://"+location.hostname+location.pathname+"?showuser=" +boo
}
</script> |