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

后端 未结 16 1848
孤城傲影
孤城傲影 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:02

    You can also try to use my code below. This will also help you to redirect your parent window:

    Parent:

    
    
    
    

    Popup:

    
    
    
    
    

    The window closer:

提交回复
热议问题