window.close and self.close do not close the window in Chrome

后端 未结 16 1799
孤城傲影
孤城傲影 2020-11-21 05:48

The issue is that when I invoke window.close() or self.close() it doesn\'t close the window. Now there seems to be a belief that in Chrome you can\

16条回答
  •  余生分开走
    2020-11-21 06:17

    This might be old, but let's answer it.

    I use top.close() to close a tab. window.close() or other open...close didn't work for me.

提交回复
热议问题