Closed
Bug 215609
Opened 21 years ago
Closed 21 years ago
New Javascript preference: Allow pages to control context (right-click) menus.
Categories
(Firefox :: Settings UI, enhancement)
Tracking
()
People
(Reporter: bugs, Assigned: bugzilla)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030728 Mozilla Firebird/0.6.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030728 Mozilla Firebird/0.6.1
Webpages can prevent the context menu appearing when right-clicking, by changing
the document.oncontextmenu event handler. A Javascript preference should be
available to prevent pages overriding the default handler.
Reproducible: Always
Steps to Reproduce:
1. Create a page with the following code in the BODY:
<script>
document.oncontextmenu=new Function("return false")
</script>
2. The context menu no longer appears when right-clicking on the page.
Actual Results:
The context menu does not appear when right-clicking.
Expected Results:
The user should be able to control whether a page can do this, through a
Javascript preference: "Allow pages to control context (right-click) menu."
Comment 1•21 years ago
|
||
*** This bug has been marked as a duplicate of 86193 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Comment 3•18 years ago
|
||
sorry for bugspam, long-overdue mass reassign of ancient QA contact bugs,
filter on "beltznerLovesGoats" to get rid of this mass change
QA Contact: mconnor → preferences
You need to log in
before you can comment on or make changes to this bug.
Description
•