I am looking for a firefox extension that will allow me to toggle microphone access, preferrably per tab, for example disabling it while I’m not speaking in a zoom meeting to reduce tracking.

Edit: clarification due to misunderstanding: i want something that lets me toggle actually giving a site mic input without removing permissions

  • brygphilomena@lemmy.world
    link
    fedilink
    arrow-up
    35
    ·
    1 year ago

    Isn’t this default Firefox behaviour?

    Whenever a site wants access to the microphone I get a prompt from Firefox asking for its permission to grant it to the site/tab. Then when I close the tab, the permission goes away.

    There is an option to remember my preference in the popup but there’s no chance in hell I check it.

    • randomTingler@lemmy.world
      link
      fedilink
      arrow-up
      16
      arrow-down
      1
      ·
      1 year ago

      I guess the person is asking for a mute switch. Once the microphone access is granted, the person can’t mute/unmute unless the website provides such an option.

      • Crazazy [hey hi! :D]@feddit.nl
        link
        fedilink
        arrow-up
        6
        ·
        1 year ago

        Isn’t there usually a yellow pop-up on the top of the screen showing microphone and webcam controls if they are active? I think that’s how you control it. Now this isn’t per-tab control, but it’s better than no control at all I guess

    • _TheThunderWolf_@lemm.eeOP
      link
      fedilink
      arrow-up
      6
      ·
      1 year ago

      I mean something that lets me toggle actual mic input to sites once they have access, because if you turn it off you need to refresh to turn it back on.

      • LatheOperator@suppo.fi
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        On many earbuds, you can electrically short the microphone by holding the button. However, the OS will likely detect that and might react by ending the call or something, and if you plug in your headphones in that state, the mic will not be detected.

  • ani@endlesstalk.org
    link
    fedilink
    arrow-up
    13
    arrow-down
    1
    ·
    1 year ago

    Why don’t you just mute your mic in the OS? On Linux, it’s easy to do that with pulsemixer

  • ryan@the.coolest.zone
    link
    fedilink
    arrow-up
    7
    ·
    1 year ago

    This is Windows-based and mutes your microphone globally, but if you’re concerned about leaking video/audio accidentally I’ve found it very helpful:

    https://learn.microsoft.com/en-us/windows/powertoys/video-conference-mute

    This is part of PowerToys. It says “legacy mode” because they were gonna deprecate it now that they’re trying to build the functionality into W11, but relented and are keeping it based on the outcry from W10 users.

    • flashgnash@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      1 year ago

      You can do this on Linux pretty easily, just rig a keyboard shortcut via whatever mechanism your desktop environment provides to run something like pactl mute @DEFAULT_SOURCE

  • Cinner@lemmy.worldB
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    1 year ago

    Why not just… get a headset with a mute button? Laptop and phone mics sound like shit to those of us with good audio. There are great inexpensive headphones with awesome mics that will make you sound as if you’re standing right next to them. And they have a physical mute button, to boot. It’s far less obvious (and cheaper) if you get a wired pair or a boom mic, because you just click the physical mute button hanging on a little control pad off the wire below, instead of tapping your ear every time.

  • 30p87@feddit.de
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    Probably not that useful for OP, as they want an extension, but: On Linux one could use pavucontrol to individually set volume (in and out) and devices for every single stream, including single tabs.

  • Rentlar@lemmy.ca
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    Can’t really do it at the browser level. In Linux you can run a command that mutes/unmutes the mic, assign that command to a keyboard shortcut. It can be more granular too like by input source/application but it could take more tinkering.

    Easiest solution tbh would be to use a headset with a mute button.

  • ryathal@sh.itjust.works
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    Probably not anything at a browser level. It sounds like you want to split your mic into multiple input channels and then selectively activate those channels. There may be audio software for that, but it’s way outside my knowledge.