简体   繁体   中英

Hide the status bar in Firefox

I would like to hide the status bar in Firefox when the mouse is over a link. Here is what the status bar is : http://support.mozilla.com/en-US/kb/what-happened-status-bar

I already tried window.status with javascript but it doesn't work even if I set dom.disable_window_status_change to false. I didn't find any add-ons ever.

Does someone have a solution ?

NB : this is only for a web application which won't be published on the Internet, my goal is not to hide a target link :)

Thank you.

This won't be possible / allowed by the browser for security reasons.

If this is an absolute requirement, is specific to Firefox, and you control the web browsers for the users that will be using this application, you could write your own Firefox extension to do this for your specific site.

This will not work because this is built in for safety reasons. To prevent phishing for example or other bad things you can do. I mean I'm not sure but what you could do is leave the a href ="" tag attribute empty or just insert href="#" and add some javascript which redirects the user to the page you want when he clicks that link. But I'm really not sure if this would work in the way you want it !

You can't hide it when it is over a link, but one way to get around it would be to attach click events to span elements that change the window location. So they would act like links, but there wouldn't be a href attribute to show in the status.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM