about:blank_Web浏览器中的About:空白页是做什么用的?

about:blank_Web浏览器中的About:空白页是做什么用的?

about:blank

about:blank_Web浏览器中的About:空白页是做什么用的?

While most people prefer to use a specific webpage as the home page in their web browser, others have chosen to use about:blank instead. Is about:blank simply a blank webpage or does it have a special purpose? Today’s SuperUser Q&A post has the answers to a curious reader’s questions.

尽管大多数人喜欢在其网络浏览器中使用特定的网页作为主页,但其他人则选择使用about:blank。 about:blank仅仅是一个空白网页,还是有特殊目的? 今天的“超级用户问答”帖子回答了好奇的读者的问题。

Today’s Question & Answer session comes to us courtesy of SuperUser—a subdivision of Stack Exchange, a community-driven grouping of Q&A web sites.

今天的“问答”环节由SuperUser提供,它是Stack Exchange的一个分支,该社区是由社区驱动的Q&A网站分组。

问题 (The Question)

SuperUser reader “Guy named Jon” wants to know what the about:blank page in web browsers is for:

超级用户阅读器“ Guy named Jon”想知道Web浏览器中的about:blank页面的用途是:

What is the about:blank page in a web browser used for? I was just wondering why it is there. Is it an actual webpage or just something that is built in? It seems to be completely empty except for the header and body.

网络浏览器中的about:blank页面用于什么? 我只是想知道为什么它在那里。 它是实际的网页还是内置的? 除标题和正文外,它似乎完全是空的。

What is the about:blank page in web browsers for?

Web浏览器中的about:blank页面是什么?

答案 (The Answer)

SuperUser contributors Keltari and bwDraco have the answer for us. First up, Keltari:

超级用户贡献者Keltari和bwDraco为我们提供了答案。 首先,Keltari:

It is simply a blank page that is built into some web browsers. Some people just like to have a blank page rather than see/load anything else when they start their web browser or open a new tab/page.

它只是一些Web浏览器内置的空白页面。 有些人只是喜欢空白页,而不喜欢在启动Web浏览器或打开新的标签/页面时看到/加载其他内容。

Followed by the answer from bwDraco:

随后是bwDraco的回答:

The about URI scheme is designated for internal web browser use. It originated in Netscape Navigator, the web browser that gave rise to Mozilla Firefox. This includes about:blank.

about URI方案指定供内部Web浏览器使用。 它起源于Netscape Navigator ,这是Web浏览器,产生了Mozilla Firefox。 这包括about:blank。

Per IETF RFC 6694, about:blank is reserved for a blank page. Essentially, every web browser that supports about implements about:blank and it is pretty much the same everywhere.

根据IETF RFC 6694 ,about:blank保留用于空白页。 本质上,每个支持about的Web浏览器都实现about:blank,并且到处都差不多。

Because about:blank is little more than a blank internal page, it does not depend on any external resources and serves as a good default on metered connections or slow systems.

因为about:blank只不过是空白的内部页面,所以它不依赖任何外部资源,并且在计量连接或速度较慢的系统上可以作为默认设置。



Have something to add to the explanation? Sound off in the comments. Want to read more answers from other tech-savvy Stack Exchange users? Check out the full discussion thread here.

有什么补充说明吗? 在评论中听起来不错。 是否想从其他精通Stack Exchange的用户那里获得更多答案? 在此处查看完整的讨论线程

翻译自: https://www.howtogeek.com/264181/what-is-the-aboutblank-page-in-web-browsers-for/

about:blank