老规矩直接贴代码:

var url = document.referrer;
    if (url.indexOf("jiuzhou") >= 0 || url.indexOf("knjt") >= 0 || url.indexOf("pmehd") >= 0 || url.indexOf("localhost:8006") >= 0 || url.indexOf("kncec") >= 0){}else{
        window.parent.location = window.location;
    }

如果有改进方案欢迎指出。

相关文章:

  • 2022-02-15
  • 2021-08-01
  • 2022-01-07
  • 2021-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-31
相关资源
相似解决方案