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.