Skip to content

Jsh :: Blogspot

OpenCart & WordPress tweaks and tricks

  • Home
  • Contact
  • Disclaimer

Tag: jscript

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();

Tags

opencartopen cartcodelobsterpdfstockedit pdfwp pluginXClonerwoocommerceocmodsearchform fieldtext editorremove formstock statusform field removalwooformstock status styleregistration form
  • Home
  • Disclaimer
  • Contact
Jsh :: Blogspot
Proudly powered by WordPress.
Scroll Up