【发布时间】:2021-01-20 14:36:05
【问题描述】:
试图通过简单的代码查看 IE11 的引荐来源网址,但无法使用 ServiceNow。这段代码在 chrome 中工作,但在 IE 中给出了空的引用。这是代码,请建议我。
<html>
<head>
<title>First Web Application</title>
</head>
<body>
<span style="color: #ff0000; ">${errorMessage}</span>
<form method="post">
Name : <input type="text" name="name" />
Password : <input type="password" name="password" />
<input type="submit" />
</form>
<a title="Link that opens in a new window" referrerpolicy="origin" href="https://localhost:8082/welcome-get?token=st566565 " target="_blank">Next</a>
</body>
</html>
【问题讨论】:
-
IE 很差,不支持很多功能
-
对此问题的任何解决方案将不胜感激......
-
我在IE和Chrome中测试了你提供的代码,结果是一样的。我认为您的代码 sn-p 无法重现该问题。但是对于您遇到的问题的原因,我认为这是由于IE doesn't support
referrerpolicy。您不能在 IE 中使用此策略。
标签: html internet-explorer servicenow referrer new-window