IE中的可信站点 - html标题被忽略 [英] Trusted Site in IE - html title is ignored

查看:138
本文介绍了IE中的可信站点 - html标题被忽略的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我们将域名作为可信网站添加到IE时,HTML标题将被忽略,并且页面网址将显示在浏览器标题栏中。



我们将域名从受信任网站列表中删除,然后正确的标题显示在标题栏中。



这只发生在一个弹出窗口中。



这是为什么?!



(我应该补充说,这是在IE8中 - 同样的事情发生在任何模式下)

解决方案

感谢marktucks指引我朝着正确的方向前进。 如果解决方案是在可信站点区域的IE安全设置中'启用''允许脚本启动的窗口没有大小或位置限制'选项。标题,而不是页面的URL,然后显示在JavaScript启动的弹出窗口。


When we add our domain as a trusted site to IE, then the html 'title' tag is ignored and the page url is shown in the browser header bar.

Whn we remove our domain from the trusted sites list then the correct title is shown in the header bar.

This only occurs in a popup window.

Why is this?!

( I should add, this is in IE8 - same thing occurs in any mode)

解决方案

Thanks to marktucks for pointing me in the right direction.

In my case the solution was to 'enable' the 'Allow script-initiated windows without size or position constraints' option in IE security settings for the Trusted Sites Zone. The title, rather than the page URL is then displayed in javascript initiated pop-ups.

这篇关于IE中的可信站点 - html标题被忽略的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆