uBlock/src
Raymond Hill 869a653fdf
Output scriptlet logging information to the logger
This commit brings the following changes to the logger:

All logging output generated by injected scriptlets are now sent to
the logger, the developer console will no longer be used to log
scriptlet logging information.

When the logger is not opened, the scriplets will not output any
logging information.

The goal with this new approach is to allow filter authors to
more easily assess the working of scriptlets without having to
go through scriptlet parameters to enable logging.

Consequently all the previous ways to tell scriptlets to log
information are now obsolete: if the logger is opened, the
scriptlets will log information to the logger.

Another benefit of this approach is that the dev tools do not
need to be open to obtain scriptlets logging information.

Accordingly, new filter expressions have been added to the logger:
"info" and "error". Selecting the "scriptlet" expression will also
keep the logging information from scriptlets.

A new button has been added to the logger (not yet i18n-ed): a
"volume" icon, which allows to enable verbose mode. When verbose
mode is enabled, the scriptlets may choose to output more
information regarding their inner working.

The entries in the logger will automatically expand on mouse hover.
This allows to scroll through entries which text does not fit into
a single row.

Clicking anywhere on an entry in the logger will open the detailed
view when applicable.

Generic information/errors will now be rendered regardless of which
tab is currently selected in the logger (similar to how tabless
entries are already being rendered).
2024-01-25 12:20:38 -05:00
..
_locales Import translation work from https://crowdin.com/project/ublock 2024-01-17 10:44:41 -05:00
css Output scriptlet logging information to the logger 2024-01-25 12:20:38 -05:00
img Output scriptlet logging information to the logger 2024-01-25 12:20:38 -05:00
js Output scriptlet logging information to the logger 2024-01-25 12:20:38 -05:00
lib Fix typos 2023-07-23 10:01:08 -04:00
web_accessible_resources Remove obsolete web accessible resources 2023-12-08 12:06:34 -05:00
1p-filters.html Isolate DOM inspector layers from page context 2023-12-03 16:21:32 -05:00
3p-filters.html Remove minimum height constraint from "My filters" pane 2024-01-19 11:26:01 -05: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 Prevent dashboard from loading at browser launch until ready 2023-03-16 09:17:36 -04:00
devtools.html Remove "Purge all caches" button from "Filter lists" pane 2023-12-13 21:01:51 -05:00
document-blocked.html Fix cloud storage widget not showing (regression) 2023-04-10 10:03:51 -04:00
dyna-rules.html Fix cloud storage widget not showing (regression) 2023-04-10 10:03:51 -04:00
logger-ui.html Output scriptlet logging information to the logger 2024-01-25 12:20:38 -05:00
no-dashboard.html Code maintenance: replace uDom.js with dom.js 2022-11-12 09:51:22 -05:00
popup-fenix.html Minor HTML/CSS changes 2023-04-27 08:49:45 -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 Convert remaining vAPI.setTimeout to vAPI.defer 2023-04-14 10:26:45 -04:00