if(window.top !== window.self){ window.top.location = window.location;}

  这句话的意识是说:如果当前窗体不是顶级窗体,就把自己变成最顶层。从而防止别人iframe使用

相关文章:

  • 2022-02-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-08
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-28
  • 2022-12-23
  • 2022-12-23
  • 2021-10-03
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案