Skip to content
janosevic design logo

Jsh :: Blogspot

OpenCart & WordPress tweaks and tricks

  • Home
  • About me
  • Contact
  • Disclaimer

Tag: css

How to close current window (tab) with jscript and HTML

window.close();

Modern browsers usually don’t allow this behavior and closing the current window or tab with jscript is doable only if you previously opened that window with jscript. However, searching for the solution about this topic I managed to make this work and here it is how.

Published 26/01/2020
Categorized as How To's Tagged close tab, close window, css, html, jscript, window.close();
This website runs on green hosting - verified by thegreenwebfoundation.org

Categories

  • How To's
  • OpenCart
  • Various IT stuff
  • WordPress
  • Home
  • About me
  • Contact
  • Disclaimer
janosevic design logo
Proudly powered by WordPress.
Scroll Up
Go to mobile version