如何禁止被iframe包含 limon87 · 2013-04-23 09:29 · Web前端 · Markdown //不允许iframe嵌入 if(window.top !== window.self){ window.top.location = window.location;}