Reliable cross browser way of setting Status bar text

假如想象 提交于 2019-12-17 21:04:58

问题


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.



来源:https://stackoverflow.com/questions/876390/reliable-cross-browser-way-of-setting-status-bar-text

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!