Page 1 of 1
Prevent link info to show in the status bar
Posted: Wed Jun 30, 2004 11:03 am
by ljCharlie
If I put the mouse over a link, the link information is shown in the status bar at the bottom of the browser. How do I turn this off so user would not be able to see the link information at the status bar? The reason is, the link contains an ID that the next page needs to verify and I don't want people to see the ID right on the status bar of their browser.
Any help is grateful!
ljCharlie
Posted: Wed Jun 30, 2004 11:05 am
by JayBird
This is a client side issue.
even if you hide the status bar message, they can still view your source.
Mark
Posted: Wed Jun 30, 2004 11:21 am
by feyd
window.status = '';
Code: Select all
<a href="whatever.html?id=super+secret" onmouseover="window.status=''">blahblah</a>
although, as Mark said, it's nearly pointless.
Posted: Wed Jun 30, 2004 11:24 am
by JayBird
if the ID is so important, i would suggest rethinking your method.
Mark
Posted: Wed Jun 30, 2004 11:46 am
by ljCharlie
Many thanks for the help and suggestion. If the ID is within a PHP block, can people view the source?
ljCharlie
Posted: Wed Jun 30, 2004 12:30 pm
by feyd
if you echo the ID, people can see it, if they want. The only real way to hide it from them entirely is using sessions or similar..