Closed Bug 40535 Opened 24 years ago Closed 3 years ago

disallow/queue alert (and window.open?) on right-click

Categories

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

x86
Windows 98
enhancement

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: jruderman, Unassigned)

References

()

Details

http://www.ben2.ucla.edu/~dabruin/falcon3d.html 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
Status: NEW → ASSIGNED
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 http://www.angelcities.com/members/jeditemple/3dcraft.html.
See also bug 14716.
This is an event problem, over to joki.
Assignee: jst → joki
Status: ASSIGNED → NEW
Keywords: dom0
Keywords: dom0
See also bug 72084, "There is no way to disable the context menu upon right-
click".
> There was another bug somewhere that wanted to disallow popup windows for some 
> event.

Bug 92955?
Summary: [RFE] disallow/queue alert (and window.open?) on right-click → disallow/queue alert (and window.open?) 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.

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