uBlock/src
Raymond Hill c7b54af0a2
[mv3] Add minimal ability to diagnose ruleset issue
A new icon has been added to the popup panel, to open a popup
window with a terse list of DNR events for the current tab, in
reverse chronological order (most recent DNR event appears at
the top).

The new ability is available only when the extension is sideloaded,
as per `declarativeNetRequestFeedback` documentation. Ref:
https://developer.chrome.com/docs/extensions/reference/api/declarativeNetRequest#event-onRuleMatchedDebug

Purposefully minimal, so as to have something rather than nothing
when having to diagnose filtering issue with the DNR API. Example:
https://github.com/uBlockOrigin/uBOL-home/issues/156

The content of the popup window does not dynamically update, force
a refresh (F5) to get the most recent DNR events. This might be
improved in the future.

The DNR event buffer is not persisted, so the buffer is empty when
service worker is restarted. This might be improved in the future
by using session storage API.

There is no output filtering ability in this first draft. This
might be improved in the future.

DNR rules are reported. The filter from which a DNR rule
originates is not reported. Given that the rulesets are optimized
after conversion from original filter lists to reduce the DNR rule
count, this is unlikely to ever be possible.
2024-07-29 14:54:46 -04:00
..
_locales Import translation work from https://crowdin.com/project/ublock 2024-07-09 13:16:17 -04:00
css Adjust element picker visuals 2024-04-22 06:08:49 -04:00
img Add a console pane to the logger 2024-04-10 11:27:40 -04:00
js [mv3] Add minimal ability to diagnose ruleset issue 2024-07-29 14:54:46 -04:00
lib Redesign cache storage 2024-02-26 16:50:11 -05:00
web_accessible_resources More fine-tuning of element picker visual/behavior 2024-03-03 10:08:56 -05:00
1p-filters.html Add checkboxes to "My filters" pane 2024-03-11 11:39:31 -04:00
3p-filters.html Keep search input field visuals consistent 2024-03-13 10:57:56 -04:00
about.html Patch Unicode country flags with image-based flags 2023-05-20 21:35:52 -04:00
advanced-settings.html Fix cloud storage widget not showing (regression) 2023-04-10 10:03:51 -04:00
asset-viewer.html Convert remaining vAPI.setTimeout to vAPI.defer 2023-04-14 10:26:45 -04:00
background.html [mv3] Add ability to enable/disable filter lists 2022-09-13 17:44:24 -04:00
cloud-ui.html Work toward bringing dark theme closer to a stable release 2022-01-30 18:35:26 -05:00
code-viewer.html Convert remaining vAPI.setTimeout to vAPI.defer 2023-04-14 10:26:45 -04:00
dashboard.html Add checkboxes to "My filters" pane 2024-03-11 11:39:31 -04:00
devtools.html Benchmark buttons must be disabled by default 2024-03-02 08:58:49 -05:00
document-blocked.html Fix cloud storage widget not showing (regression) 2023-04-10 10:03:51 -04:00
dyna-rules.html Make syntax errors more visible 2024-03-19 11:39:07 -04:00
logger-ui.html Add a console pane to the logger 2024-04-10 11:27:40 -04:00
no-dashboard.html Code maintenance: replace uDom.js with dom.js 2022-11-12 09:51:22 -05:00
popup-fenix.html Prevent resizing of title bar in popup menu 2024-07-05 10:11:27 -04:00
settings.html Fix cloud storage widget not showing (regression) 2023-04-10 10:03:51 -04:00
support.html Isolate DOM inspector layers from page context 2023-12-03 16:21:32 -05:00
whitelist.html Add checkboxes to "My filters" pane 2024-03-11 11:39:31 -04:00