i had made a script for qr attendance, when qr code scanner scan the code user goto link and attendance auto posted, but i need that when users attendance posted then browser should close automatically, i am using android and window browsers. i uses javascript
<html><head><script>
window.setTimeout("self.close[^];",2000);</script></head><body>
OK</body></html>
function but it only close the current tab not all tabs and not exit the browser.