mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 17:17:57 +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',
|
||||
{
|
||||
what: 'createUserFilter',
|
||||
pageDomain: targetPageDomain,
|
||||
filters: '! ' + d.toLocaleString() + ' ' + targetPageDomain + '\n' + value
|
||||
}
|
||||
);
|
||||
|
|
|
@ -112,6 +112,8 @@ var onMessage = function(request, sender, callback) {
|
|||
|
||||
case 'createUserFilter':
|
||||
µb.appendUserFilters(request.filters);
|
||||
// https://github.com/gorhill/uBlock/issues/1786
|
||||
µb.cosmeticFilteringEngine.removeFromSelectorCache(request.pageDomain);
|
||||
break;
|
||||
|
||||
case 'forceUpdateAssets':
|
||||
|
|
Loading…
Reference in a new issue