Reliable cross browser way of setting Status bar t

2019-01-20 12:45发布

问题:

I've heard of window.status and that it can be used to control the browser's status bar text, but I would like to know if there are better or newer methods that can do the same, with most modern browsers. Also, is it possible to change the status text multiple times after the page has loaded?

回答1:

The feature you are looking for as been disabled for security reason.

Here is another solution to your problem.

You could create a DIV and put the position:fixed; at the bottom of the page, so people will always see it.



回答2:

For security reasons, most modern browsers disable status bar access by default.



回答3:

You'll find most modern browsers don't allow it any more as it was abused to hide link destinations.