mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-16 15:33:38 +01:00
Properly reflect whether ipaddress=
is supported
This commit is contained in:
parent
41c96690a5
commit
52dee35325
@ -181,7 +181,8 @@ vAPI.webextFlavor = {
|
|||||||
if ( browser.runtime.getURL('').startsWith('moz-extension://') ) {
|
if ( browser.runtime.getURL('').startsWith('moz-extension://') ) {
|
||||||
soup.add('firefox')
|
soup.add('firefox')
|
||||||
.add('user_stylesheet')
|
.add('user_stylesheet')
|
||||||
.add('html_filtering');
|
.add('html_filtering')
|
||||||
|
.add('ipaddress');
|
||||||
const match = /Firefox\/(\d+)/.exec(ua);
|
const match = /Firefox\/(\d+)/.exec(ua);
|
||||||
flavor.major = match && parseInt(match[1], 10) || 115;
|
flavor.major = match && parseInt(match[1], 10) || 115;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user