window.open('', '_self', ''); window.close();
This works for me.
More Related Contents:
- install flash player automatically with javascript [closed]
- How can I stop the browser back button using JavaScript?
- Trying to detect browser close event
- How can I get the scrollbar position with JavaScript?
- Disabling browser print options (headers, footers, margins) from page?
- How do I hide javascript code in a webpage?
- Why is array.push sometimes faster than array[n] = value?
- Why doesn’t JavaScript support multithreading?
- Javascript – How to extract filename from a file input control
- What is the best way to profile javascript execution? [closed]
- How to get the browser to navigate to URL in JavaScript [duplicate]
- How do browsers pause/change Javascript when tab or window is not active?
- Why the function called by setTimeout has no callstack limit?
- How to detect when a page exits fullscreen?
- Onclick javascript to make browser go back to previous page?
- React | How to detect Page Refresh (F5)
- Listener for property value changes in a Javascript object
- How can I retain the scroll position of a scrollable area when pressing back button?
- Mechanize and Javascript
- Stop people having my website loaded on multiple tabs
- How can I use JavaScript to transform XML & XSLT?
- wget + JavaScript?
- Browser back button handling
- How to know browser idle time?
- Why does JavaScript navigator.appName return Netscape for Safari, Firefox and Chrome?
- How to run desktop app from browser?
- Why web browsers don’t have jQuery built in? [duplicate]
- Force page zoom at 100% with JS
- How to trigger CSS “hover state” using Javascript? [duplicate]
- Pick up the Android version in the browser by Javascript