permaculture playing cards
The moose likes Java in General and the fly likes tracking domain names Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "tracking domain names" Watch "tracking domain names" New topic

tracking domain names

Sri Enga
Ranch Hand

Joined: Feb 02, 2001
Posts: 51
Is there a way to find out in java , when a user leaves the current domain and goes to another domain by typing another URL in address field of browser.


if i am at and if i type in the address bar.
Can I track the domain of the newer site i.e. this is only needed if the user is changing the domain through the Address bar in Internet Explorer or Location bar in Netscape.
I have tried location.hostname in javascript and it is giving me i.e. the current hostname but i could not access the ie. the new URL.
Is there a java solution for this either through invisible applets or invisible servlets, or any java function I use in a JSP , servlet etc.
Any solution in any software is ok.
Thanks for your time and help

Srini Renga
Aj Manch
Ranch Hand

Joined: May 07, 2001
Posts: 50
I think it is not possible. If Yahoo can find out that I am visiting Hotmail or some other site not by clicking on a link on the Yahoo site but by entering the URL, I would consider that a bug!
I agree. Here's the link:
subject: tracking domain names
It's not a secret anymore!