From 1ba7894a299372d0baf5599d22e0617a7ab37e29 Mon Sep 17 00:00:00 2001 From: gorhill Date: Wed, 24 Jun 2015 20:01:27 -0400 Subject: ability to prevent local ip address leak thru webrtc --- platform/chromium/vapi-background.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'platform/chromium') 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; } -- cgit v1.1