mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-24 03:12:46 +01:00
Properly report user-filters in troubleshooting information
User filters are enabled by default, they should be reported under the `listset` section, along with how many filters are being enforced.
This commit is contained in:
parent
6941ec7fb0
commit
9b22961291
@ -1294,7 +1294,7 @@ const getSupportData = async function() {
|
|||||||
listDetails.push(parts.join('.'));
|
listDetails.push(parts.join('.'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ( list.isDefault ) {
|
if ( list.isDefault || listKey === µb.userFiltersPath ) {
|
||||||
if ( used ) {
|
if ( used ) {
|
||||||
defaultListset[listKey] = listDetails.join(', ');
|
defaultListset[listKey] = listDetails.join(', ');
|
||||||
} else {
|
} else {
|
||||||
|
@ -623,8 +623,9 @@ self.addEventListener('hiddenSettingsChanged', ( ) => {
|
|||||||
|
|
||||||
// User filter list.
|
// User filter list.
|
||||||
newAvailableLists[this.userFiltersPath] = {
|
newAvailableLists[this.userFiltersPath] = {
|
||||||
|
content: 'filters',
|
||||||
group: 'user',
|
group: 'user',
|
||||||
title: vAPI.i18n('1pPageName')
|
title: vAPI.i18n('1pPageName'),
|
||||||
};
|
};
|
||||||
|
|
||||||
// Custom filter lists.
|
// Custom filter lists.
|
||||||
|
Loading…
Reference in New Issue
Block a user