uBlock/src/js
Raymond Hill 571db71318
Fine tune cosmetic filtering badge-related code
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/756

As per various feedbacks:

Added an advanced setting to keep the original behavior,
which can be potentially costly CPU-wise on some sites:

    popupCosmeticFilterBadgeSlow

Default to `false`. Set to `true` to restore original
method of surveying the number of elements hidden as
a result of applying cosmetic filtering.

As suggested by <https://github.com/gwarser>, skip
descendant of nodes which have been found to be a
match in order to potentially increase the number
of nodes which can be surveyed in the alloted time.
2019-11-02 19:03:07 -04:00
..
codemirror Minor code review re. https://github.com/uBlockOrigin/uBlock-issues/issues/658 2019-07-11 09:50:12 -04:00
scriptlets Fine tune cosmetic filtering badge-related code 2019-11-02 19:03:07 -04:00
wasm Fine-tune new bidi-trie code 2019-10-29 10:26:34 -04:00
1p-filters.js Work toward modernizing code base: promisification 2019-09-17 15:15:01 -04:00
3p-filters.js Simplify client messaging code 2019-09-19 08:31:38 -04:00
about.js Work toward modernizing code base: promisification 2019-09-17 15:15:01 -04:00
advanced-settings.js Work toward modernizing code base: promisification 2019-09-17 15:15:01 -04:00
asset-viewer.js Work toward modernizing code base: promisification 2019-09-17 15:15:01 -04:00
assets.js Avoid or defer writing back to cache storage at launch 2019-10-15 11:42:43 -04:00
background.js Fine tune cosmetic filtering badge-related code 2019-11-02 19:03:07 -04:00
cachestorage.js Remove remnants of chrome references... 2019-09-21 12:06:57 -04:00
cloud-ui.js Work toward modernizing code base: promisification 2019-09-17 15:15:01 -04:00
commands.js Revisit element picker arguments code 2019-09-18 12:17:45 -04:00
console.js Fix spurious output at uBO's dev console 2019-02-18 14:41:04 -05:00
contentscript.js Improve efficiency of per-site switches badge code 2019-10-31 11:07:11 -04:00
contextmenu.js Revisit element picker arguments code 2019-09-18 12:17:45 -04:00
cosmetic-filtering.js Rename register-like variables 2019-09-29 13:21:09 -04:00
dashboard-common.js Work toward modernizing code base: promisification 2019-09-17 15:15:01 -04:00
dashboard.js Work toward modernizing code base: promisification 2019-09-17 15:15:01 -04:00
document-blocked.js Expand bidi-trie usage in static network filtering engine 2019-10-21 08:15:58 -04:00
dyna-rules.js Work toward modernizing code base: promisification 2019-09-17 15:15:01 -04:00
dynamic-net-filtering.js Use async/await in Matrix.benchmark() 2019-06-19 08:37:48 -04:00
fa-icons.js Grand refactoring of the logger 2019-01-12 16:36:20 -05:00
filtering-context.js Use request as its own context when none available 2019-10-26 10:18:32 -04:00
hnswitches.js fix #2859 2018-09-03 14:06:49 -04:00
hntrie.js Fine-tune new bidi-trie code 2019-10-29 10:26:34 -04:00
html-filtering.js Code review of session filters commit 2019-09-26 12:40:56 -04:00
i18n.js Grand refactoring of the logger 2019-01-12 16:36:20 -05:00
logger-ui-inspector.js Simplify client messaging code 2019-09-19 08:31:38 -04:00
logger-ui.js Expand bidi-trie usage in static network filtering engine 2019-10-21 08:15:58 -04:00
logger.js Grand refactoring of the logger 2019-01-12 16:36:20 -05:00
lz4.js Fix Promise chain of WASM module load operations 2019-02-01 08:20:43 -05:00
messaging.js Fine tune cosmetic filtering badge-related code 2019-11-02 19:03:07 -04:00
pagestore.js Do not flush blocked-elements cache at webNavigation time 2019-09-21 16:42:15 -04:00
popup.js Bail out when counting hidden elements is too expensive 2019-11-02 09:16:23 -04:00
redirect-engine.js Expand bidi-trie usage in static network filtering engine 2019-10-21 08:15:58 -04:00
reverselookup-worker.js Fix regression in logger's reverse-lookup of filters 2019-09-30 11:41:43 -04:00
reverselookup.js Expand bidi-trie usage in static network filtering engine 2019-10-21 08:15:58 -04:00
scriptlet-filtering.js Rename register-like variables 2019-09-29 13:21:09 -04:00
settings.js Work toward modernizing code base: promisification 2019-09-17 15:15:01 -04:00
shortcuts.js Work toward modernizing code base: promisification 2019-09-17 15:15:01 -04:00
start.js Harden compiled/selfie format change detection at launch 2019-10-27 11:49:05 -04:00
static-ext-filtering.js Reduce memory usage in staticExtFilteringEngine.HostnameBasedDB 2019-09-28 13:36:07 -04:00
static-net-filtering.js Fix spurious leading/trailing wildcards with valid token 2019-10-31 13:46:06 -04:00
storage.js Fine-tune new bidi-trie code 2019-10-29 10:26:34 -04:00
strie.js Fine-tune new bidi-trie code 2019-10-29 10:26:34 -04:00
tab.js Match static popup filter against local context 2019-09-23 08:25:23 -04:00
text-encode.js refactor some webRequest-related code (now that firefox legacy is out of the way) 2018-10-28 10:58:25 -03:00
traffic.js Force-unsuspend when starting webRequest listener 2019-10-27 11:41:08 -04:00
ublock.js Revisit element picker arguments code 2019-09-18 12:17:45 -04:00
udom.js Update fix for https://github.com/uBlockOrigin/uBlock-issues/issues/468 2019-04-14 16:57:09 -04:00
uritools.js Use const, let instead of var 2019-02-24 09:01:58 -05:00
url-net-filtering.js Fix regression in URL rules validation 2019-07-10 17:24:01 -04:00
utils.js Minor fine-tuning of URL tokenizer 2019-10-31 11:15:00 -04:00
whitelist.js Work toward modernizing code base: promisification 2019-09-17 15:15:01 -04:00