防止网页嵌入 try{ top.location.hostname; //表明不存在跨域(或者未使用框架),就不采取操作 if (top.location.hostname != window.location.hostname) { //兼容Chrome浏览器 top.location.href =window.location.href; ... Other 2023-10-18 52 点赞 0 评论 78 浏览