1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-14 23:12:28 +02:00
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':