if(top.location != location) { top.location.href = document.location.href;}//该片段来自于http://www.codesnippet.cn/detail/031220137675.html
来源: http://www.codesnippet.cn/detail/031220137675.html