JavaScript/ jquery for Closing Browser FireFox / chrome / IE

前端 未结 5 1477
后悔当初
后悔当初 2021-01-21 10:26

AS I need JavaScript / jquery Code for Closing Browser\'s ( FireFox / Chrome and IE..)

As I have try with window.close()

But it only work for IE.

5条回答
  •  醉话见心
    2021-01-21 11:28

    This worked for IE and Chrome. (window.close() worked for IE, then win.close for chrome)

    
    

提交回复
热议问题