gpt4 book ai didi

javascript - window.close() 在 Firefox 中不起作用

转载 作者:行者123 更新时间:2023-11-29 10:41:28 25 4
gpt4 key购买 nike

<分区>

我想关闭当前的浏览器选项卡。

我试过关注

window.close();

  var win = window.open('', '_self');
win.close();

但是这些在 chrome 中工作正常但在 firefox 中不工作。我也在谷歌上进行了研究,但没有找到任何解决方案。

我知道这些问题之前已发布,但我看过主题但没有找到解决方案。

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com