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.

  • tb_@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    2 months ago

    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?

  • stoy@lemmy.zip
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    2 months ago

    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.eeOP
      link
      fedilink
      arrow-up
      3
      ·
      2 months ago

      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!

    • Otter@lemmy.ca
      link
      fedilink
      English
      arrow-up
      6
      ·
      2 months 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
    link
    fedilink
    arrow-up
    3
    ·
    2 months ago

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

    Just create new profile.