javascript框架
I thought frames went out of style a decade ago but apparently everyone feels the need to duplicate the Digg Bar. I don't trust these framed services so I choose to use a JavaScript snippet that prevents my site from being in someone else's frame.
我以为十年前框架过时了,但显然每个人都觉得有必要复制Digg Bar。 我不信任这些框架式服务,因此我选择使用一个JavaScript代码段,以防止我的网站进入他人的框架。
JavaScript (The JavaScript)
if (top.location != self.location) {
top.location = self.location;
}
Don't let your site be framed in! Use this JavaScript snippet!
不要让您的网站陷害! 使用此JavaScript代码段!
javascript框架