Closed
Bug 209471
Opened 21 years ago
Closed 21 years ago
Some sites manage to disable right-click context menu
Categories
(SeaMonkey :: General, defect)
Tracking
(Not tracked)
People
(Reporter: 6tsh7a001, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows 1991 Government Server Edition; en-US) Gecko Build Identifier: This is the 3rd site I've seen which has been able to use Javascript to disable mozilla's otherwise always-available right-click context menu. I neglected to write down the URLs of the first two sites. This guy's site seems to have some special code on it so that the cursor is changed to a crosshair. I'm not sure what that's about. I think that is a result of the javascript, because I can right click in the text ad area at the top of the page. Reproducible: Always Steps to Reproduce: 1. Goto above page 2. Right-click anywhere on the page, image, link, text, doesn't matter. 3. One of those annoying javascript alerts comes up. O how I hate those. Expected Results: Mozilla usually pops up the alert, and then immediately (while the alert is still up) the right-click context menu comes up also. This is reproducable on both the 1.4a latest nightly downloaded June 15 1.5a 2003061204 nightly
Comment 1•21 years ago
|
||
What's the bug about this? The site just uses document.oncontextmenu=new Function("alert(message);return false") and function clickNS4(e){ if (document.layers||document.getElementById&&!document.all){ if (e.which==2||e.which==3){ alert(message); return false; } } } So this is wanted, what's the bug in Mozilla here?
Comment 2•21 years ago
|
||
*** This bug has been marked as a duplicate of 86193 *** *** This bug has been marked as a duplicate of 86193 ***
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•