'X-Frame-Options'到'SAMEORIGIN'问题的通用解决方案 [英] Generic solution of 'X-Frame-Options' to 'SAMEORIGIN' issue

查看:1367
本文介绍了'X-Frame-Options'到'SAMEORIGIN'问题的通用解决方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在iframe中打开 http://teeSpring.com/ 。它抛出拒绝在框架中显示'http://teespring.com/',因为它将'X-Frame-Options'设置为'SAMEORIGIN'。错误。

我已经通过了多个答案,但没有一个对我有用。大多数解决方案都针对Google地图,脸书或YouTube视频。

这是我的代码:

 < html> 
< head>
< base target =_ blank/>
< script src =http://code.jquery.com/jquery-1.11.0.min.js>< / script>
< / head>
< body>