标签:网页 location oca host try name top catch win
try{
top.location.hostname;
if (top.location.hostname != window.location.hostname) {
top.location.href =window.location.href;
}
}
catch(e){
top.location.href = window.location.href;
}
标签:网页 location oca host try name top catch win
原文地址:http://www.cnblogs.com/zhpblog/p/7103090.html