mirror of https://github.com/gorhill/uBlock.git
Use `default_public_interface_only` in Chromium-based browser
Related feedback: - https://www.reddit.com/r/uBlockOrigin/comments/hbea3z/ It appears the implementation of the `disable_non_proxied_udp` setting changed in Chromium, leading to WebRTC becoming wholly unfunctional. Fall back to use `default_public_interface_only` in Chromium-based browsers.
This commit is contained in:
parent
f889dc6e11
commit
64cfc5779d
|
@ -184,7 +184,7 @@ vAPI.browserSettings = (( ) => {
|
|||
// https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/privacy/network#Browser_compatibility
|
||||
// Firefox 70+ supports `disable_non_proxied_udp`
|
||||
const value =
|
||||
vAPI.webextFlavor.soup.has('firefox') &&
|
||||
vAPI.webextFlavor.soup.has('firefox') === false ||
|
||||
vAPI.webextFlavor.major < 70
|
||||
? 'default_public_interface_only'
|
||||
: 'disable_non_proxied_udp';
|
||||
|
|
Loading…
Reference in New Issue