原理很简单,主要是利用到window.open的第二个属性,name

前端:

原来的网页给window命名为 window.name="single"

window.open(“第三方链接”)

叭叭叭,登陆完毕,后端验证成功,重新定位到原来的网页

后端重定位地址:

window.open("原来的网页地址","single")

window.close()//关闭当前

相关文章:

  • 2021-04-08
  • 2021-12-02
  • 2021-10-22
  • 2021-12-19
  • 2021-04-06
  • 2021-05-19
  • 2021-12-16
猜你喜欢
  • 2021-07-24
  • 2021-12-18
  • 2022-01-02
  • 2021-11-17
  • 2021-09-17
  • 2022-01-19
相关资源
相似解决方案