mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
fix #2337
This commit is contained in:
parent
64e1d5d2a1
commit
8f4da98f2e
1 changed files with 5 additions and 1 deletions
|
|
@ -274,7 +274,11 @@ vAPI.browserSettings = {
|
||||||
// has a `media.peerconnection.ice.default_address_only` pref which
|
// has a `media.peerconnection.ice.default_address_only` pref which
|
||||||
// purpose is to prevent local IP address leakage.
|
// purpose is to prevent local IP address leakage.
|
||||||
case 'webrtcIPAddress':
|
case 'webrtcIPAddress':
|
||||||
if ( this.getValue('media.peerconnection', 'ice.default_address_only') !== undefined ) {
|
// https://github.com/gorhill/uBlock/issues/2337
|
||||||
|
if ( this.getValue('media.peerconnection', 'ice.no_host') !== undefined ) {
|
||||||
|
prefName = 'ice.no_host';
|
||||||
|
prefVal = true;
|
||||||
|
} else if ( this.getValue('media.peerconnection', 'ice.default_address_only') !== undefined ) {
|
||||||
prefName = 'ice.default_address_only';
|
prefName = 'ice.default_address_only';
|
||||||
prefVal = true;
|
prefVal = true;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue