Firefox is the one major browser with a documented WebRTC kill switch: media.peerconnection.enabled, flipped in about:config. This page maps every Firefox pref that touches WebRTC, separates the true disable from the mere restrictions, and states plainly which claims are documented and which come from our own runs.
The measured part comes from our disable-lever test on Chromium 158, four methods by three rounds, logged on the sibling disable-WebRTC page. The Firefox-specific behavior is documented by Mozilla and marked as such; we do not present it as measured, and the harness section says what we would count as a pass.
Firefox keeps a real switch where Chromium offers only inert flags and script-level surgery; the trade is absolute either way.
measured
On Chromium, our four-lever test found exactly one way to stop WebRTC: remove the API before page code runs. The flag named --disable-features=WebRTC, which circulates as advice, changed nothing across three rounds; the candidate set stayed byte-identical to the untouched baseline. Firefox takes a different position. Its configuration editor exposes a documented preference, media.peerconnection.enabled, whose documented effect is to remove the RTCPeerConnection API from every page, which is the same end state as constructor deletion: nothing dials, nothing gathers, nothing leaks.
The honesty boundary matters here. We measured constructor deletion on Chromium, not the Firefox pref in a Firefox harness; the pref route is documented by Mozilla and presented as documented. What we can transfer across browsers is the end state: an API that does not exist cannot produce a candidate list, and in our Chromium runs that state held in every round with a failure that was immediate and total.
Why the flag advice fails on the Chromium side is worth one line, because it explains why Firefox users are lucky: a feature flag only turns off something the build ships as a named feature, and WebRTC is not packaged that way in Chromium. Firefox instead exposes the whole stack behind a single preference, so one documented flip reaches the end state that Chromium users have to reach with an extension or a script that deletes the constructor before every page.
| Pref (about:config) | Value | Documented effect |
|---|---|---|
| media.peerconnection.enabled | false | the full stop: pages lose the API; calls, screenshare and probes all fail |
| media.peerconnection.ice.no_host | true | host candidates are omitted; local addresses never enter the list |
| media.peerconnection.ice.default_address_only | true | one default address per interface; limits enumeration, not exposure |
| privacy.resistFingerprinting | true | blankets many surfaces including timezones; WebRTC is not its main target |
Read the table as two groups. The first row disables; the next two restrict. The restriction rows still allow a connection to start, which means a site can still learn a public address through the relay-free srflx path: in our Chromium runs that path named the real public address in every baseline round, and nothing in the documented Firefox restriction prefs removes it the way an empty ice server list did in our prevention runs, where zero relay-free candidates survived.
A reading rule for the table: none of these values are ours to claim. Each effect line paraphrases Mozilla's documented behavior, and the table exists to rank them by how much of the leak they close, not to present them as run results. Where a pref's effect is absolute, the table says the page loses the API; where it is partial, it says what still travels.
Disabling is absolute, and the failure shape is knowable from our runs. Once the constructor was deleted on Chromium, every gather attempt threw in every round; a page does not degrade gracefully, it simply cannot start. The documented Firefox pref produces the same absence, so the class of breakage is the same: video calls fail, screen sharing fails, and any fingerprinting probe that checks for the API registers its absence. Browsing, streaming and downloads never touch WebRTC and continue untouched.
One more boundary belongs in the open: a flip in about:config survives updates but is per-profile. A second Firefox profile does not inherit it, and neither does any other browser on the machine. Readers who run several profiles should expect to set it several times, and readers who need certainty after an update should re-run a leak check rather than assume persistence.
The steps are short. Open about:config, accept the warning, search for media.peerconnection.enabled, and toggle it to false. For the milder posture, set media.peerconnection.ice.no_host to true instead and keep the API available. Close the tab; prefs apply to pages loaded afterward, not to ones already open.
Then prove it instead of trusting the toggle. Our acceptance standard, matching the Chromium runs: open the WebRTC leak test and read the candidate table. After a true disable the tool reports no gather at all, because there is no API to build a connection with. If a table still appears, the pref did not take on the profile you are using, which is exactly the per-profile trap above. Firefox users who also run Chromium-family browsers should treat each browser as its own project; the sibling disable-WebRTC page covers what works there.
Finally, budget the maintenance like any other config: an update will not silently re-enable the pref, but a new profile, a portable copy, or a second machine will not carry it. The cheapest habit is one line in the acceptance step, run after every profile migration, and it costs less than a single leaked session on an account that assumed silence.
Profiles do not share prefs: RoxyBrowser keeps the WebRTC posture per profile, so a calling account stays callable while the quiet ones stay silent.
Download RoxyBrowserRoxyBrowser runs anti-detect profiles with per-profile environment control; official site roxybrowser.com, Windows and macOS.
media.peerconnection.enabled, set to false in the about:config editor. Documented behavior is that the page loses the RTCPeerConnection API entirely, which is the same end state our Chromium test produced by deleting the constructor: no connection can be built, so no candidate list exists to leak. Note the boundary of our evidence: we measured the constructor-deletion outcome on Chromium 158; this pref is the documented Firefox route and was not run in our harness.
Yes, and this is a documented Firefox difference from Chromium. With media.peerconnection.ice.no_host set to true, Firefox omits host candidates, so the machine's local addresses never enter the candidate list. Firefox also runs mDNS obfuscation by default. On our Chromium runs the local candidate still appeared, as an mDNS name that leak checkers resolve, so the Firefox default posture is tighter out of the box.
Anything that dials will fail: video calls, screen sharing, and any site probing WebRTC for fingerprinting sees the API missing. Browsing, streaming and downloads are unaffected. On our Chromium runs the failure was absolute in every round once the constructor was gone, and the documented Firefox pref produces the same absence, so expect the same class of breakage rather than a partial one.
A SOCKS5 proxy does not carry WebRTC media by default, so a relay-free candidate would sit next to the proxy exit and name your real address. If the profile never calls, flipping media.peerconnection.enabled to false is a clean belt-and-braces move. If it must call, keep WebRTC on and restrict candidates instead; emptying the ice server list removed every relay-free candidate in our Chromium runs.