On Wed, 26 Mar 2008 16:58:07 -0700, browser newbie wrote:
Hello
How can I capture the link a user clicks on ? After capturing will I be
able to form the HTTP request so that I can change the server its going
to?
For example...if the URI in the page says www.link1.com/data1, should
the user click on it, I would like this to be send to server1.link1.com
to get the url /data1
Is this possible? If so how
Yes, this is possible as described in a couple of ways in this thread,
but it *is* a bad idea.
*) If the user does not have Javascript enabled, they will not go where
you want them to go.
*) If this is used to "trick" someone to follow a link they do would not
normally follow, you risk offended and making your visitors mad. If
you did this to me, I would not return to your page.
*) It can break search engines.