I would like to know if it is possible to find out a users homepage, extract that information, and use it to send the user back to their homepage when they exit my site. I've searched for this info multiple times, using multiple parameters, but so far everything says I can only link to another page.
Your help and insights are greatly appreciated,
mitchellA
"Learning a user's homepage" and "sending him to his homepage" are separate questions. I don't know of any way of doing the first; for the second:
For Netscape, Opera, and Firefox:
<input type="button" value="Home Page" onclick="javascript:home();">
For Internet Explorer:
<input type="button" value="Home Page" onclick="javascript:document.location='about:home';">
It may be better to provide a dropdown with a list of the most popular/common homepages, since the above code will not validate and has plenty of cross browser compatibility problems.
It may be better to provide a dropdown with a list of the most popular/common homepages, since the above code will not validate and has plenty of cross browser compatibility problems.
If you want them back, it would be best to let them choose where they want to go, not dictate that they must go to their homepage.
Great wit and madness are near allied, and fine a line their bounds divide.
Bookmarks