1
0
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:
Raymond Hill 2024-09-09 10:54:47 -04:00
parent 41c96690a5
commit 52dee35325
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -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 {