1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-05 11:37:01 +02:00

Narrow usage of webRTCIPHandlingPolicy to only firefox

In addition of `mobile`, just in case -- some people are
using mobile version of chromium out there.
This commit is contained in:
Raymond Hill 2021-12-11 07:37:18 -05:00
parent 7a908d293f
commit ca1ec1461b
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -114,7 +114,9 @@ vAPI.browserSettings = (( ) => {
return {
// https://github.com/uBlockOrigin/uBlock-issues/issues/1723#issuecomment-919913361
canLeakLocalIPAddresses: vAPI.webextFlavor.soup.has('mobile'),
canLeakLocalIPAddresses:
vAPI.webextFlavor.soup.has('firefox') &&
vAPI.webextFlavor.soup.has('mobile'),
set: function(details) {
for ( const setting in details ) {