1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-23 02:42:41 +01:00
uBlock/src
Raymond Hill 67fb969572
Refactoring: Replace DOM events with broadcast channels
Broadcast channels are more suited to uBO than DOM events to dispatch
notifications to different parts of uBO.

DOM events can only be dispatched to local context, broadcast channels
dispatch to all contexts (i.e. background process, workers, auxiliary
pages) -- this last behavior is better suited to uBO to communicate
internal changes to all potential listeners, not just those in the local
context.

Additionally, broadcasting to content scripts is now done through
tabs.sendMessage() instead of through potentially opened message
ports, this simplifies broadcasting to content scripts, and this
doesn't require to have long-lived message ports in content
scripts.
2023-12-01 14:35:28 -05:00
..
_locales Import translation work from https://crowdin.com/project/ublock 2023-11-29 16:19:23 -05:00
css Fine tune CSS 2023-10-22 18:33:28 -04:00
img Flags: w40 => h48, probably better for UHD displays 2023-05-23 09:24:30 -04:00
js Refactoring: Replace DOM events with broadcast channels 2023-12-01 14:35:28 -05:00
lib Fix typos 2023-07-23 10:01:08 -04:00
web_accessible_resources Add enableLazyLoad function 2023-12-01 02:20:40 -05:00
1p-filters.html Move warning sentence to the start 2023-10-23 10:01:33 -04:00
3p-filters.html Add support for sublists in "Filter lists" pane 2023-05-06 12:50:25 -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 Prevent dashboard from loading at browser launch until ready 2023-03-16 09:17:36 -04:00
devtools.html Convert remaining vAPI.setTimeout to vAPI.defer 2023-04-14 10:26:45 -04: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 Fix various code paths in bodyFilterer 2023-11-05 10:32:23 -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 Prevent creating report until filter lists are updated 2023-06-22 14:36:12 -04:00
whitelist.html Convert remaining vAPI.setTimeout to vAPI.defer 2023-04-14 10:26:45 -04:00