锁定你的网站,不让网页在其它人的框架内出现。

代码一条,加入到head部分。演示效果暂无。

<Script LANGUAGE=”JavaScript”>
if(self!=top){top.location=self.location;}
</script>

随机文章:

1、在页面上实现Google PR值的显示
https://www.onexin.net/%e5%9c%a8%e9%a1%b5%e9%9d%a2%e4%b8%8a%e5%ae%9e%e7%8e%b0google-pr%e5%80%bc%e7%9a%84%e6%98%be%e7%a4%ba/

2、Discuz!Q 小内存服务器上宝塔默认安装的 MySQL 如何配置?
https://www.onexin.net/discuzq-mysql/

3、mysql的insert/replace/update/delete及多表操作
https://www.onexin.net/the-mysql-the-insert-the-replace-update-delete-and-multi-table-operation/

4、DIV+CSS布局解决IE6、IE7、IE8样式不兼容问题
https://www.onexin.net/divcss-layout-solution-ie6-ie7-ie8-style-incompatibility-issues/

5、magento网站转移不重装方法
https://www.onexin.net/magento-website-does-not-reload-method-of-transfer/

转载请注明出处:https://www.onexin.net/lock-your-website-and-not-to-pages-within-the-framework-of-other-people/

Leave a Reply

Your email address will not be published. Required fields are marked *