Home >Web Front-end >HTML Tutorial >Why can the web page be displayed in frames even after using

Why can the web page be displayed in frames even after using
WBOY
WBOYOriginal
2016-06-24 12:19:15738browse

Why can the web page be displayed in frames even after using

Reply to discussion (solution)

There is no such attribute. . Tests on ie5.5~ie8, firefox, and chrome are useless

Prevent the framework from using js

<script>    if (top != self) top.location = self.location;</script>

Baidu checked and said it has this function, but there is no response

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn