uBlock/platform/common
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
..
managed_storage.json Reorganize platform directory to avoid Chromium-centric appearance 2021-07-16 10:06:58 -04:00
vapi-background.js Use 'wasm-unsafe-eval' instead of deprecated 'wasm-eval' 2023-08-18 10:01:08 -04:00
vapi-client-extra.js Refactoring: Replace DOM events with broadcast channels 2023-12-01 14:35:28 -05:00
vapi-client.js Refactoring: Replace DOM events with broadcast channels 2023-12-01 14:35:28 -05:00
vapi-common.js Enable path for native has() selector in Firefox 2023-11-20 19:38:18 -05:00
vapi.js Improve test for presence of browser as extensions API 2022-01-01 11:07:17 -05:00