Closed Bug 40535 Opened 24 years ago Closed 3 years ago

disallow/queue alert (and on right-click


(Core :: DOM: Core & HTML, enhancement, P5)

Windows 98





(Reporter: jruderman, Unassigned)



Details uses javascript alerts to 
prevent users from looking at the source code to his site.  If the site is 
opened in a chromed window, this isn't a huge problem because users can use 
menus, but it's still annoying.  IE has a workaround: press escape after 
mousedowning, and the context menu pops up when you mouseup.  This trick 
doesn't work in Mozilla because Mozilla triggers context menus on mousedown 
instead of on mouseup.

There was another bug somewhere that wanted to disallow popup windows for some 
event.  This bug may be a duplicate of or closely related to that one.
I was thinking of bug 40005, "Option to disable windows being spawned on exit".
Too late to do this now, marking Future.
Target Milestone: --- → Future
Interestingly, Mozilla now pops up the context menu even while the alert is 
active (you have to hold down the right mouse button to see this).  I was able 
to get two modal dialogs at once using that by clicking "save as" in the 
context menu... weird.

Updating url to
See also bug 14716.
This is an event problem, over to joki.
Assignee: jst → joki
Keywords: dom0
Keywords: dom0
See also bug 72084, "There is no way to disable the context menu upon right-
> There was another bug somewhere that wanted to disallow popup windows for some 
> event.

Bug 92955?
Summary: [RFE] disallow/queue alert (and on right-click → disallow/queue alert (and on right-click
See also bug 86193, "There is no way to always open the context menu upon
right-click (oncontextmenu?)".
there is now an option to always open the context menu (see bug 86193)
*** Bug 282966 has been marked as a duplicate of this bug. ***
Assignee: joki → nobody
QA Contact: desale → general
Bulk priority change, per :mdaly
Priority: P3 → P5

We have sufficient features to work around this now (both preventing lots of alerts and opening the context menu anyway), but it's also no longer really a problem on the web at large.

Closed: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.