Hello,

I just got a mba air m4 and was doing my usual userchrome.css/js configuration. I trasnfered all the config files, but noticed that some elements in the context menu that I had hided in my windows laptops were present in the macos firefox.

I thought no big deal, I’ll just select the macos selector via browser toolbox, but after enabling the browser toolbox and ticking on disable popup auto hide the context menu still disappears.

This basically bans me from any userchrome coding as I can’t see the selector names of elements.

Anyone has any solution? this has been driving me insane for the last 3 hours.

Firefox uses OS native context menus on MacOS, so the context menus cannot be styled with css.

  • MrOtherGuy@lemmy.worldM
    link
    fedilink
    arrow-up
    2
    ·
    4 months ago

    Firefox uses OS native context menus on MacOS, so the context menus cannot be styled with css. I suppose that could also mean that they can’t be prevented from disappearing on click when disable popup autohide is active. I would guess that other popups (such as the urlbar popup or main menu popup) are still disabled from autohiding - if not, the you should probably report that as a bug.

    • MiniBus93@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      4 months ago

      Oh, I see. I think that’s probably it!

      So the only way to have context menus that can be styled with css is disabling widget.macos.native-context-menus, will try this thanks!