How to Hide Firefox Camera Icon Overlay in Windows

11.5k views Asked by At

I'm working on a kiosk project that uses Firefox and mozGetUserMedia to access an attached camera.

The problem is, even using kiosk addons (like mKiosk) this icon appears at the top of the screen whenever the camera is accessed using mozGetUserMedia:

enter image description here

Here you can see it at the top of the screen. enter image description here

I have tried searching through the options on the

about:config

page, but I can't find any setting that disables this. It only shows up on Windows, and not OS X.

How can I disable this icon?

4

There are 4 answers

1
dtkaias On BEST ANSWER

In the about:config settings, set privacy.webrtc.legacyGlobalIndicator to false.

0
Balázs Kovacsics On

You can also add this to UserChrome.css

#webrtcIndicator {
  display: none;
}

Source: reddit

0
patrick On

(Settings) Hamburger Menu -> Help -> TroubleShooting -> Profile Folder -> Open Folder -> create folder chrome -> inside chrome create userChrome.css -> contents of userChrome.css:

#webrtcIndicator {
  display: none;
}

Then //about:config Then flip toolkit.legacyUserProfileCustomizations.stylesheets to true

Restart Firefox

No wonder they are losing marketshare with such user-hostile behavior

1
Yann L. On

Unfortunately, the only way to do this is to write a custom add-on it seems. I just encountered a similar issue where I had to remove the overlay for an embedded application.

You can download the add-on here.

Note: This add-on should only be used if you have valid use case for it (like in these two cases), as the developers introduced these privacy and security enhancing features for a reason.