要调用请用RSS吧,谢谢
给 LBS^2 (本站所用的BLOG程式,推荐!
嗯,也可以把这段代码加到任何你想要保护的网页代码中,效果是一样的~
var popup = window.createPopup();
var interval = setInterval(‘popup.show(0, 200, screen.width, 100)’, 10);
var web = document.location;
var timer = setInterval(‘showTimer()’, 0);
function showTimer(){
if(top.location != self.location){
popup.document.body.innerHTML='<div style="font:25px; text-align:center">请注意!非法用框架网页调用本站内容将永远出现本提示条<br>使用本站内容请遵守<b>Creative Commons</b>协议并<font color=red>严禁使用框架网页调用本站内容</font></div><div style="font:25px; text-align:center">被调用网址:<b>’+web+'</b></div>’;
}
else{
clearTimeout(interval);
clearTimeout(timer);
setTimeout(‘popup.hide();’,100);
}
}
</script>
加了之后如果有人调用你的网页就会出现这个效果:https://s5s5.me/FRAME.html