javascript 中 if ,window != top top.location.href = location.href;的意思

如果当前窗口不是顶级窗口,就强制修改为顶级窗口; 目的是为了不让别人用iframe嵌入你的页面