From b0067b79d508bf6565a10c053330be9c17d36af2 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Wed, 28 Feb 2024 18:53:27 -0500 Subject: [PATCH] Reset filter lists in worker when creating filters via "Block element" Related issue: https://github.com/uBlockOrigin/uBlock-issues/issues/968 --- src/js/storage.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/js/storage.js b/src/js/storage.js index 7c29f14221c5b..6ac3866324bc9 100644 --- a/src/js/storage.js +++ b/src/js/storage.js @@ -625,6 +625,7 @@ onBroadcast(msg => { cosmeticFilteringEngine.removeFromSelectorCache( hostnameFromURI(details.docURL) ); + staticFilteringReverseLookup.resetLists(); }; µb.userFiltersAreEnabled = function() {