Closing the main window of the browser

前端 未结 1 545
栀梦
栀梦 2021-01-28 18:14

I\'m using a WebKit-based browser (OWB) and I would like to close the browser by using a JavaScript function call. It seems that window.close closes windows created by another w

相关标签:
1条回答
  • 2021-01-28 18:45

    It's not possible, How would you like it if random sites can close your browser at will? I would definitely be looking for another browser. Can you explain why you need this (very annoying) behavior? I bet there are very good alternatives, from a usability perspective, to what you want to achieve.

    As a side-note: WebKit is a HTML rendering engine and has in fact very little to do with javascript.

    0 讨论(0)
提交回复
热议问题