Click here to Skip to main content
13,149,756 members (82,579 online)
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
Posted 25-Feb-14 18:02pm
Updated 26-Jul-16 3:39am

1 solution

Rate this: bad
 
good
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[^]

-KR
  Permalink  
Comments
Jas 24 26-Feb-14 0:09am
   
You were absolutely right my 5!
Krunal Rohit 26-Feb-14 0:09am
   
Thanks mate :)

-KR
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.

-KR

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 |
Web02 | 2.8.170924.2 | Last Updated 26 Jul 2016
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

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