APD Toronto
asked on
Prevent this page from creating additional dialogs.
HI Experts,
Whenever I have a JS alert, in Chrome I get the following option:
Is there any way for me to disable this via JS or by running a VBS or batch file on the client computer? This actually an internal web application that my client wants to give access to partners, and I need to have these alerts?
Are these options only in Chrome, or can other browsers produce them also?
Thank you
Whenever I have a JS alert, in Chrome I get the following option:
Prevent this page from creating additional dialogs.
Is there any way for me to disable this via JS or by running a VBS or batch file on the client computer? This actually an internal web application that my client wants to give access to partners, and I need to have these alerts?
Are these options only in Chrome, or can other browsers produce them also?
Thank you
ASKER
I don't know JQuery. Is it possible for me to override the alert() function, then I'll just bring up a DIV and disable all other elements?
The reason why I want to override the alert() function opposed to using another function, is because I'm using the alert(() in thousand places, so it'll be much easier to override it. I think it something to do with prototype?
The reason why I want to override the alert() function opposed to using another function, is because I'm using the alert(() in thousand places, so it'll be much easier to override it. I think it something to do with prototype?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Web Development has moved away from using alerts and more towards modals. e.g. such as this jQuery one: https://jqueryui.com/dialog/. Is that a possibility?