拒绝使用<a> tag

时间:2018-04-26 05:54:46

标签: html

I have a portfolio sight, very basic. On my sight there are 3 links to profiles I have on linkedin github and stack overflow.

Here is my code..

        <div class="aside">
            <a href="https://www.linkedin.com/in/##########/" id="linkedin"></a>
            <a href="https://github.com/#######" id="github"></a>
            <a href="https://stackoverflow.com/users/######/4cody" id="stack"></a>
        </div>

These links have been working fine for months, but I noticed a few days ago that now, I get these errors when I click on anyone of them..

(respectively)

Refused to display ' https://www.linkedin.com/in/#########/&#39;在框架中,因为祖先违反了以下内容安全政策指令:&#34;框架 - 祖先&#39; self&#39;&#34;。

拒绝展示&#39; https://github.com/####&#39;在一个框架中,因为祖先违反了以下内容安全政策指令:&#34;框架 - 祖先&#39;无&#39;&#34;。

拒绝展示&#39; https://stackoverflow.com/users/#######/4cody&#39;在一个框架中因为它设置了X-Frame-Options&#39;到#sameorigin&#39;。

我对该网站所做的唯一更改是添加了我的简历的pdf,这被添加到与找到这些链接的文件不同的HTML文件中。

pdf是什么导致了这些错误? 有没有办法解决这个问题?

我在网上的研究都讨论了参考iframe的这类错误..但是你可以看到我正在使用标签。

任何帮助或输入都会很棒 感谢

0 个答案:

没有答案