Use of Alert Prompt and Confirm

As I said - I got fed up with clicking the checkbox to turn off JavaScript for the web pages as these calls ask me to so I disabled them completely in my browser.

They were replaced in all browsers more modern than Netscape 4 by something called the Document Object Model - for displayin g things to your visitors - and the dialogs were repurposed for debugging. That more recent use has now been replaced by console.log() meaning that there is no reason to keep the dialogs enabled in the browser - after all maybe I don’t want to turn off JavaScript just because the page owner decides to ask me to.