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

前端:

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

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

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

后端重定位地址:

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

window.close()//关闭当前

相关文章:

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