rob*_*lls 13

另一种方案:

if (window.top !== window.self) window.top.location.replace(window.self.location.href);
Run Code Online (Sandbox Code Playgroud)