在 Google Chrome 中,我注意到点击一些链接似乎根本没有效果:
<a href="http://google.com">clicking this link does nothing at all.</a>
这里有一个JSBin http://jsbin.com/epileg/1/edit and a JSFiddle http://jsfiddle.net/WQhbe/.
这是正常现象,还是表明最新版本的 Google Chrome 存在某种错误?我以前从未遇到过这个问题,并且像这样的链接过去对我来说效果很好。
如果您查看开发者控制台,您将看到以下内容:
Refused to display 'https://www.google.com/' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.
See https://developer.mozilla.org/en-US/docs/HTTP/X-Frame-Options https://developer.mozilla.org/en-US/docs/HTTP/X-Frame-Options
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)