Although this has no impact on the function, the experience is not very good. So how to solve this problem? There are many articles on the Internet about setting window.status = "xx" after being loaded by the target page, but I found that this method doesn't work very well in situations like this.
Then add
window.onload = function(){
window.status = "Complete";
}
The result is 1.html After the page is loaded, the progress bar below the browser is still there.
After a long period of repeated practice, I finally found a way to solve the problem: open the page without using an href link. Instead, use Javascript to change the iframe method.
- < ;a href="redirect('2.html')" target="page">
At this point, I thought the problem was solved, but I don’t want the browser to complain again A script error came, indicating that redirect is undefined. Finally, I figured it out. It turned out that I forgot to remove the target attribute.
At this point, the problem is completely solved. Since it is not convenient in the company, I will post a sample.
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn