Skip to content

Magnus.tech

Notes to self…

Month: April 2022

Prevent JS from closing tab/window.

In the console, type: window.close = function(){}

Author magnusPosted on April 13, 2022Categories JavaScript

Recent Posts

  • Prevent JS from closing tab/window.
  • SqlSrv on PHP 7.4 and Ubuntu 20.04
  • Validate latitude & longitude with regex
  • Get wifi working in PureOS on Dell XPS 13
  • Always open Firefox bookmarks in new tab

Recent Comments

    Magnus.tech Proudly powered by WordPress