“网站”与“网站”相比在 Windows 互联网设置中
我注意到,一旦您在 Internet Explorer 中自定义区域的设置,HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2描述”注册表值strong> 更改为:
"This zone contains all Web sites that are on your organization's intranet."
这
"This zone contains all websites that are on your organization's intranet."
是一个错误还是一个功能?
如果是后者,那么这种看似几乎不可察觉的差异的目的是什么?
为了进一步澄清问题,是否可以使用此差异作为测试来判断区域是否已从默认更改为自定义?
I noticed that once you customize the settings of a zone in Internet Explorer, the "Description" registry value in HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2 changes from:
"This zone contains all Web sites that are on your organization's intranet."
to
"This zone contains all websites that are on your organization's intranet."
Is this a bug or a feature?
If the latter, what's the purpose of that seemingly almost unnoticeable difference?
To further clarify the question, could this difference be used as a test to tell whether the zone has been changed from default to customized?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这并不是真正的错误或功能,而是设计使然。发生的事情是这样的:
旧的 Windows UI 样式指南说正确的说法是“网站”。在 Vista 的时间范围内,他们完全重写了风格指南。作为更改的一部分,他们决定它应该是“网站”。我不知道他们为什么做出这个决定,但他们确实这么做了。
最有可能发生的情况是,原始字符串是由使用旧样式指南开发的代码编写的,但是当您更改它时,您会以某种方式触发根据新样式指南开发的代码。
我当然不会依赖这种行为。如果您想了解哪些设置,请使用 IInternetSecurityManager。
This isn't really a bug or a feature, but it is by design. Here is what happened:
The old Windows UI Style Guide said the right way to say it was "Web site". In the Vista time-frame, they completely re-wrote the style guide. As part of the changes, they decided that it should be "website". I don't know why they made this decision, but they did.
What's happening is, most likely, the original string is written by code that was developed using the old style guide, but when you change it you somehow trigger code that was developed under the new style guide.
I would certainly NOT rely on this behavior. If you want to know what settings are, use IInternetSecurityManager.