/    Sign up×
Community /Pin to ProfileBookmark

how to hide status bar message (even when mouse down)?

I have checked from lots of javascript source and got the following code:

[CODE]
function hidestatus(){
window.status=”
return true
}

if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)

document.onmouseover=hidestatus
document.onmouseout=hidestatus
[/CODE]

But this function only works when mouse over and out, if I press the link, I still can see the link detail from status bar. Would you tell me how to completely hide status message even mouse down and click.

Thank you!

to post a comment
JavaScript

6 Comments(s)

Copy linkTweet thisAlerts:
@felgallMay 16.2005 — You could try adding code for document.onmousedown and document.onclick the same as you have for document.onmouseover and document.onmouseout
Copy linkTweet thisAlerts:
@Roshdy25Jan 01.2008 — <script language="javascript" type="text/javascript">

function hidestatus(){

window.status='';

return true;

}

if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT | Event.MOUSEDOWN | Event.ONCLICK | Event.MOUSEMOVE | Event.MOUSEUP);

document.onmouseover=hidestatus;
document.onmouseout=hidestatus;
document.onclick =hidestatus;
document.onmousemove=hidestatus;
document.onmouseup=hidestatus;
document.onmousedown =hidestatus

</script>

I write this code to hide status bar but in mouse down the status bar appear

please reply me as fast as you can

thankyou
Copy linkTweet thisAlerts:
@samliewJan 01.2008 — try:

&lt;script type="text/javascript"&gt;
function nostatus() { window.status=''; setTimeout(nostatus,100); }
document.onload=nostatus;
&lt;/script&gt;
Copy linkTweet thisAlerts:
@Roshdy25Jan 01.2008 — Thank you for reply

but it also not worked

the url appear when the mouse down first time on link

thankyou again if you can help me please reply me
Copy linkTweet thisAlerts:
@CentauriJan 01.2008 — Hiding the status bar text can be considered an accessibility issue. I use status bar url display to decide whether to open a link in the same or a new tab....
Copy linkTweet thisAlerts:
@felgallJan 01.2008 — If you are using a modern browser then the security built into the browser disallows JavaScript access to the status bar.
×

Success!

Help @sunnyside spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...