yanan7890

 windows:不会

    window.close();不起作用,windows下也报Scripts may close only the windows that were opened by it.

 

 微信:WeixinJSBridge.call(\'closeWindow\');

  或者引入<script src="https://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>调用wx.closeWindow();

    只适用微信,其它入口比QQ里进入都关闭不了,报Uncaught ReferenceError: WeixinJSBridge is not defined

 

分类:

技术点:

相关文章:

  • 2022-03-01
  • 2021-07-20
  • 2022-12-23
  • 2022-12-23
  • 2021-11-14
  • 2022-12-23
  • 2022-02-15
  • 2022-12-23
猜你喜欢
  • 2021-12-26
  • 2021-12-23
  • 2022-01-03
  • 2021-07-05
  • 2021-09-08
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案