mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-13 02:14:17 +01:00
fix #1786
This commit is contained in:
parent
e730b3ea24
commit
ed315d0a3b
2 changed files with 3 additions and 0 deletions
|
@ -972,6 +972,7 @@ var netFilteringManager = (function() {
|
||||||
'loggerUI',
|
'loggerUI',
|
||||||
{
|
{
|
||||||
what: 'createUserFilter',
|
what: 'createUserFilter',
|
||||||
|
pageDomain: targetPageDomain,
|
||||||
filters: '! ' + d.toLocaleString() + ' ' + targetPageDomain + '\n' + value
|
filters: '! ' + d.toLocaleString() + ' ' + targetPageDomain + '\n' + value
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
|
@ -112,6 +112,8 @@ var onMessage = function(request, sender, callback) {
|
||||||
|
|
||||||
case 'createUserFilter':
|
case 'createUserFilter':
|
||||||
µb.appendUserFilters(request.filters);
|
µb.appendUserFilters(request.filters);
|
||||||
|
// https://github.com/gorhill/uBlock/issues/1786
|
||||||
|
µb.cosmeticFilteringEngine.removeFromSelectorCache(request.pageDomain);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'forceUpdateAssets':
|
case 'forceUpdateAssets':
|
||||||
|
|
Loading…
Reference in a new issue