this post was submitted on 26 Sep 2024
21 points (95.7% liked)

Firefox

17815 readers
8 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_@lemmy.world 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?

[–] iturnedintoanewt@lemm.ee 1 points 1 month ago

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

[–] stoy@lemmy.zip 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.

[–] iturnedintoanewt@lemm.ee 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!

[–] stoy@lemmy.zip 1 points 1 month ago

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

[–] Interstellar_1@lemmy.blahaj.zone 4 points 1 month ago (1 children)

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

[–] otter@lemmy.ca 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

[–] jangdonggun@lemmy.ml 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.

[–] stoy@lemmy.zip 3 points 1 month ago