Large

Nice alert

By NV Last update Sep 28, 2010 — Installed 2,328 times.

Feature request: Nice dialog boxes

in
Subscribe to Feature request: Nice dialog boxes 3 posts, 3 voices



Izvarinskij User
FirefoxWindows

Where ok/cancel. They are modal, and they are annoying too.

 
NV Script's Author
ChromeMacintosh

People often asking me about that. I'm not sure it's possible.

alert(), prompt(), and confirm() are synchronous functions. Alert, despite others, do not return anything, so I can override it with no harm. But if I override confirm() this code will be broken

if (confirm('Are you sure?')) {
   ...
}

 
Piyush Soni Scriptwright
FirefoxWindows

Yes, that should not be done, that will destroy all the scripts.