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)

x86
Windows XP
enhancement
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 86193

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."
*** This bug has been marked as a duplicate of 86193 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
v
Status: RESOLVED → VERIFIED
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.