Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #28108 > unrolled thread
| Started by | anilkumar04u@gmail.com |
|---|---|
| First post | 2015-06-17 00:31 -0700 |
| Last post | 2015-06-17 23:25 +0200 |
| Articles | 3 — 3 participants |
Back to article view | Back to comp.lang.javascript
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Preventing "Prevent this page from creating additional dialogs" anilkumar04u@gmail.com - 2015-06-17 00:31 -0700
Re: Preventing "Prevent this page from creating additional dialogs" Erwin Moller <erwinmollerusenet@xs4all.nl> - 2015-06-17 14:11 +0200
Re: Preventing "Prevent this page from creating additional dialogs" Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-06-17 23:25 +0200
| From | anilkumar04u@gmail.com |
|---|---|
| Date | 2015-06-17 00:31 -0700 |
| Subject | Re: Preventing "Prevent this page from creating additional dialogs" |
| Message-ID | <bfec756f-73cf-4349-9671-996b15b63dbe@googlegroups.com> |
Can any one of you please tell me what actually happens when user checks that prompt message not to display any more dialog box. Why I am asking this question is when user selects that box, from next time system not performing any action that was done before when it was displaying that pop-up message. Your reply helps me a lot to understand this issue. Thanks, Anilkumar
[toc] | [next] | [standalone]
| From | Erwin Moller <erwinmollerusenet@xs4all.nl> |
|---|---|
| Date | 2015-06-17 14:11 +0200 |
| Message-ID | <558163df$0$2938$e4fe514c@news2.news.xs4all.nl> |
| In reply to | #28108 |
On 6/17/2015 9:31 AM, anilkumar04u@gmail.com wrote:
> Can any one of you please tell me what actually happens when user checks that prompt message not to display any more dialog box. Why I am asking this question is when user selects that box, from next time system not performing any action that was done before when it was displaying that pop-up message.
>
> Your reply helps me a lot to understand this issue.
>
> Thanks,
> Anilkumar
>
It is a feature of Firefox (maybe other browsers) to prevent a webpage
from annoying users by creating a stream of alerts.
Try this:
<script type="text/javascript">
while (true){
alert("try to shut this page down!");
}
</script>
Such a script hijacks the browser, since it is close to impossible to
hit the close button before the new alert appears.
Regards,
Erwin Moller
--
"That which can be asserted without evidence, can be dismissed without
evidence."
-- Christopher Hitchens
[toc] | [prev] | [next] | [standalone]
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Date | 2015-06-17 23:25 +0200 |
| Message-ID | <1804048.IKtGpIP0tc@PointedEars.de> |
| In reply to | #28111 |
Erwin Moller wrote: > On 6/17/2015 9:31 AM, anilkumar04u@gmail.com wrote: >> Can any one of you please tell me what actually happens when user checks >> that prompt message not to display any more dialog box. Why I am asking >> this question is when user selects that box, from next time system not >> performing any action that was done before when it was displaying that >> pop-up message. > > It is a feature of Firefox (maybe other browsers) to prevent a webpage > from annoying users by creating a stream of alerts. It is a feature of all Mozilla-based software, including Firefox: <http://mxr.mozilla.org/mozilla-central/source/dom/base/nsGlobalWindow.cpp#6475> -- PointedEars FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/> Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix> Please do not cc me. / Bitte keine Kopien per E-Mail.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.javascript
csiph-web