简体   繁体   中英

How to Hide URL Loading In Status Bar?

如何隐藏IE和Firefox中状态栏中的URL加载?

You used to be able to manually set the status of the window using...

window.status = "Hello World";

However, most browsers stopped you from doing this a while back as it was used as a technique to direct users to phishing websites (ie you'd hover over a link that was pointing to "www.fakebank.com" and they would update the window status to "www.realbank.com" to make you think it was a genuine link.

So the short answer is, you won't be able to control what happens on the browser window, such as progress bar and URL being loaded as the browser won't allow it.

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