Click here to Skip to main content
13,900,571 members
Rate this:
Please Sign up or sign in to vote.
See more:
I want to hide the checkbox of the message as "prevent this page from creating additional dialogs"

when multiple alert() occurs.

Please help me to hide this checkbox by CSS or any javascript

Thanks in advance
Updated 26-Jul-16 3:39am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

You can't disable it.
This is a browser feature and is intended to protect the user, If you could turn it off, all those sites spamming users with dialogs would have a way to stop it.

So in short, no.

Make your application work with it instead of against it, don't rely on dialogs/confirmations to much. rather have a modal-box ask questions, it is pretty too :) - stackverflow[^]

Tom Marvolo Riddle 26-Feb-14 0:09am
You were absolutely right my 5!
Krunal Rohit 26-Feb-14 0:09am
Thanks mate :)

shibashish mohanty 26-Feb-14 0:21am
Thanks KR.But if someone checked "prevent this page from creating additional dialogs",then can i provide one message please uncheck it.Is it possible.
Krunal Rohit 26-Feb-14 0:25am
I've no idea about it. Sorry mate.


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web06 | 2.8.190306.1 | Last Updated 26 Jul 2016
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100