-1
在這種情況下,我想的是寫在example.com一個假想的javascript代碼返回相同的結果:我如何欺騙一個iframe頁面加載非iframe?
window.self === window.top
<html>
<body>
<iframe id="you-are-not-an-iframe" src="http://example.com"></iframe>
</body>
</html>
你有什麼嘗試?你想顯示的內容iframe中的東西像一個div而不是彈出? – PeterPan
@ user2110309我想讓OP在iframe中顯示例如google.com。 – Teemu
您是否期待[殺死Iframe攻擊者](http://code-cocktail.in/iframe-buster-killer/) – Gowri