diff --git a/src/js/logger-ui.js b/src/js/logger-ui.js index eeb6cb904..398b664fb 100644 --- a/src/js/logger-ui.js +++ b/src/js/logger-ui.js @@ -972,6 +972,7 @@ var netFilteringManager = (function() { 'loggerUI', { what: 'createUserFilter', + pageDomain: targetPageDomain, filters: '! ' + d.toLocaleString() + ' ' + targetPageDomain + '\n' + value } ); diff --git a/src/js/messaging.js b/src/js/messaging.js index 360c17b7a..2b9096f1f 100644 --- a/src/js/messaging.js +++ b/src/js/messaging.js @@ -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':