Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Learn More

javascript popup "Prevent this page from creating additional dialogs"

  • 4 odpovede
  • 6 má tento problém
  • 20 zobrazení
  • Posledná odpoveď od cor-el

more options

1. how to write source code Avoid "Prevent this page from creating additional dialogs"

   (use javascript window.showModalDialog(url, name, properties);)

2. [ call direct window.showModalDialog ] vs [ call window.showModalDialog under ajax success function ]

when click very fast -> They alert "Prevent this page from creating additional dialogs".

why when click slow speed -> [ call direct window.showModalDialog ] don't show "Prevent this page from creating additional dialogs".

but [ call window.showModalDialog under ajax success function ] show "Prevent this page from creating additional dialogs". (How to avoid message like upper case)

thank you Somjet

1. how to write source code Avoid "Prevent this page from creating additional dialogs" (use javascript window.showModalDialog(url, name, properties);) 2. [ call direct window.showModalDialog ] vs [ call window.showModalDialog under ajax success function ] when click very fast -> They alert "Prevent this page from creating additional dialogs". why when click slow speed -> [ call direct window.showModalDialog ] don't show "Prevent this page from creating additional dialogs". but [ call window.showModalDialog under ajax success function ] show "Prevent this page from creating additional dialogs". (How to avoid message like upper case) thank you Somjet

Upravil(a) somjet dňa

Všetky odpovede (4)

more options

while I am sure you will get the answer from illuminati here sooner or later, asking on dev apps for Firefox or on IRC under #developers will get you a faster reaction.

And - maybe - browsing through different questions and answers on MDN may be more practical.

more options

Thanks for the advice.

more options

Thanks for the advice.

more options

You would have to make sure to wait at least 3 seconds between creating pop-ups to avoid this check box and also not to send too many dialogs.