mirror of https://github.com/gorhill/uBlock.git
This commit is contained in:
parent
48426469de
commit
50d5ab68c8
|
@ -111,12 +111,10 @@ vAPI.browserSettings = (function() {
|
||||||
// only for Chromium proper (because it can be compiled without the
|
// only for Chromium proper (because it can be compiled without the
|
||||||
// WebRTC feature): hence avoid overhead of the evaluation (which uses
|
// WebRTC feature): hence avoid overhead of the evaluation (which uses
|
||||||
// an iframe) for platforms where it's a non-issue.
|
// 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() {
|
webRTCSupported: (function() {
|
||||||
var flavor = vAPI.webextFlavor.soup;
|
if ( vAPI.webextFlavor.soup.has('chromium') === false ) {
|
||||||
if (
|
|
||||||
flavor.has('chromium') === false ||
|
|
||||||
flavor.has('google') || flavor.has('opera')
|
|
||||||
) {
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
})(),
|
})(),
|
||||||
|
|
Loading…
Reference in New Issue