JavaScript/ jquery for Closing Browser FireFox / chrome / IE

前端 未结 5 1475
后悔当初
后悔当初 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:17

    I don't think that is possible as javascript can only interact with the pages rendered by the browser, not the actual browser.

提交回复
热议问题