Disable focus stealing popups
by Antony Lesuisse
Disable all focus stealing popups and confirmation loops.
Alert is replaced by console.log.
Prompt by console.log and return default value.
Confirm by console.log and return true.
onbreforeunload is disabled.
Warning: this could break some websites.
Go to Settings -> Extensions
Drag and drop chrome.crx into the extension tab.