1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-06 09:37:12 +02:00
Raymond Hill 2018-04-22 14:50:40 -04:00
parent 48426469de
commit 50d5ab68c8
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -111,12 +111,10 @@ vAPI.browserSettings = (function() {
// only for Chromium proper (because it can be compiled without the
// WebRTC feature): hence avoid overhead of the evaluation (which uses
// an iframe) for platforms where it's a non-issue.
// https://github.com/uBlockOrigin/uBlock-issues/issues/9
// Some Chromium builds are made to look like a Chrome build.
webRTCSupported: (function() {
var flavor = vAPI.webextFlavor.soup;
if (
flavor.has('chromium') === false ||
flavor.has('google') || flavor.has('opera')
) {
if ( vAPI.webextFlavor.soup.has('chromium') === false ) {
return true;
}
})(),