Forum Moderators: open

Message Too Old, No Replies

Checking if my page is their my cutomers homepage?

         

emil2k

4:28 pm on Jun 16, 2005 (gmt 0)

10+ Year Member



I was wondering if there was anyway to redirect people on load depending on whether they have my page as their homepage.

JAB Creations

3:28 am on Jun 18, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You can not detect people's homepage setting with Javascript. Matter of fact the only way you could figure this out is if you join the lowest of the low and create your own spyware to scan their registry, though your friends and most of humanity would think less of you. A person's personal settings should never be changed without their consent and constant harrasment to change one's homepage (via installation programs and browser plugins) isn't very cool either.

You can use onload and redirect....


<body onload="location='http://www.example.com';">