this post was submitted on 26 Sep 2024
22 points (95.8% liked)

Firefox

17301 readers
278 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 4 years ago
MODERATORS
 

Hi guys! I'm trying to disable Firefox' menu that shows when you right click. Sometimes, depending on context (ie, right click on a youtube video) you might get a webpage menu. But Firefox places their right click menu on top of the web's menu, blocking everything. I want to disable this, so the website/extension takes precedence, and the menu doesn't show in this case.

I see on some pages the option should be: dom.event.contextmenu.enabled, which should be set to TRUE in order to let webs or apps take precedence. It is already set to true, and yet FF keeps placing their menu on top of the website's. What else can I check?

EDIT: Just in case, there seems to be also an services.sync.prefs.sync.dom.event.contextmenu.enabled, which might be synced from my mozilla account? Not sure how this one should be set.

top 9 comments
sorted by: hot top controversial new old
[–] tb_ 5 points 1 month ago (1 children)

For YouTube it displays the YouTube menu on first right-click, then the Firefox context menu on second right-click for me. On Windows.

If that is not the case for you, something may be broken. Have you tried running Firefox without any add-ins already?

[–] [email protected] 1 points 1 month ago

I just re-created the profile. It seems to have done the trick.

[–] [email protected] 4 points 1 month ago (1 children)

I use the extension "Allow Right-Click" for this purpose.

[–] [email protected] 6 points 1 month ago

I use the same, but it sounds like OP has the opposite problem where the right click menu appears all the time, even when they want the website to take over

Which seems weird, and a clean install (or disabling all extensions) might be a good first step

[–] [email protected] 4 points 1 month ago (1 children)

I would start by reinstalling Firefox and creating a new profile before messing with about:config.

I have used Firefox since 1.0 and have nwver noticed the issue, so try a new install to start with.

[–] [email protected] 3 points 1 month ago (1 children)

No need to reinstall, but creating a new profile will usually act as profile is just starting from a brand new install. This seems to have worked. It still seems to be syncing some stuff from the account, but seems to work...for now. Thanks!

[–] [email protected] 1 points 1 month ago

Sweet, glad to hear that it seems to be working!

[–] [email protected] 3 points 1 month ago
[–] [email protected] 3 points 1 month ago

Reinstalling is waste of time, just let you know because the settings are kept, so nothing changes, issues remain.

Just create new profile.