This commit is contained in:
gorhill 2016-07-07 16:42:01 -04:00
parent e730b3ea24
commit ed315d0a3b
2 changed files with 3 additions and 0 deletions

View file

@ -972,6 +972,7 @@ var netFilteringManager = (function() {
'loggerUI',
{
what: 'createUserFilter',
pageDomain: targetPageDomain,
filters: '! ' + d.toLocaleString() + ' ' + targetPageDomain + '\n' + value
}
);

View file

@ -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':