Checking Top
Posted: Mon Oct 20, 2003 8:31 pm
First off..
JS code:
How would you make that PHP compatible? since AIM windows don't allow javascript.
Secondly, do any of you have another way to tell whether the user is using the info window for AIM to access the site, or a browser? because everytime I try including a visitor log on my homeade subprofile, jerks copy the hyperlink, paste it into IE, and change "s=%n" to whatever they want, then refresh, messing up the counters and stuff..
I wish I knew how subprofile.com did it.. they have a function where if you try changing it in the url in a browser, it logs u as annoynomous, so u can't mess with ppls subprofiles..
Thanks in advance!
JS code:
Code: Select all
if(self != top)
{
document.write("In a frame");
}
else
{
document.write("Not.");
}Secondly, do any of you have another way to tell whether the user is using the info window for AIM to access the site, or a browser? because everytime I try including a visitor log on my homeade subprofile, jerks copy the hyperlink, paste it into IE, and change "s=%n" to whatever they want, then refresh, messing up the counters and stuff..
I wish I knew how subprofile.com did it.. they have a function where if you try changing it in the url in a browser, it logs u as annoynomous, so u can't mess with ppls subprofiles..
Thanks in advance!