设置状态栏文本的可靠的跨浏览器方式
我听说过 window.status 并且它可以用来控制浏览器的状态栏文本,但我想知道是否有更好或更新的方法可以执行相同的操作,大多数现代浏览器。 另外,页面加载后是否可以多次更改状态文本?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
出于安全原因,您正在寻找的功能已被禁用。
这是您问题的另一种解决方案。
您可以创建一个 DIV 并将位置:固定; 位于页面底部,因此人们总是会看到它。
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.
出于安全原因,大多数现代浏览器默认禁用状态栏访问。
For security reasons, most modern browsers disable status bar access by default.
您会发现大多数现代浏览器不再允许它,因为它被滥用来隐藏链接目的地。
You'll find most modern browsers don't allow it any more as it was abused to hide link destinations.