Have you ever noticed that on Google and Yahoo search pages, the URLs of the search result links actually point to google.com or yahoo.com? It's a clever trick they use by adding extra arguments to the URLs that allow for redirection to the actual search result when clicked. This way, the user sees the search result URL in their browser's status bar instead of the google.com or yahoo.com URL.
I've always been curious about how they achieve this.
In the past, setting the window.status property with JavaScript would have been the solution, but unfortunately, that method doesn't seem to work anymore as explained in Reliable cross browser way of setting Status bar text
For example, I tried using a link like this:
<a href="http://somedomain.com/ReallyLongURLThatShouldNotBeSeenInTheStatusBar" onmouseover="window.status='http://niceShourtUrl.com/'" onmouseout="window.status=''">Click Me</a>
However, the window.status strategy does not work for achieving the same effect as seen on Google's and Yahoo's search results pages. What can be done to fix this link so that it behaves like those links? Ideally, when a user hovers over the link, "" should be displayed in the status bar.