diff options
author | gorhill <rhill@raymondhill.net> | 2015-06-24 20:01:27 -0400 |
---|---|---|
committer | gorhill <rhill@raymondhill.net> | 2015-06-24 20:01:27 -0400 |
commit | 1ba7894a299372d0baf5599d22e0617a7ab37e29 (patch) | |
tree | f165d7ba6f35871a09eb76fcb7de17e85085142b /platform/chromium | |
parent | c596e6c0e1cedd23d9d80d02daf8d8d57aae70db (diff) | |
download | uBlock-1ba7894a299372d0baf5599d22e0617a7ab37e29.zip uBlock-1ba7894a299372d0baf5599d22e0617a7ab37e29.tar.gz uBlock-1ba7894a299372d0baf5599d22e0617a7ab37e29.tar.bz2 |
ability to prevent local ip address leak thru webrtc
Diffstat (limited to 'platform/chromium')
-rw-r--r-- | platform/chromium/vapi-background.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/platform/chromium/vapi-background.js b/platform/chromium/vapi-background.js index 3d0ccaf..9413033 100644 --- a/platform/chromium/vapi-background.js +++ b/platform/chromium/vapi-background.js @@ -85,6 +85,15 @@ vAPI.browserSettings = { }); break; + case 'webrtcIPAddress': + if ( typeof chrome.privacy.network.webRTCMultipleRoutesEnabled === 'object' ) { + chrome.privacy.network.webRTCMultipleRoutesEnabled.set({ + value: !!details[setting], + scope: 'regular' + }); + } + break; + default: break; } |