#66 We need a mechanism to filter or modify events
Opened 2 years ago by polcak. Modified 2 years ago

Summary

Some events can provide information on the user activities, see, for example, https://github.com/polcak/jsrestrictor/issues/135, or, https://pagure.io/JShelter/webextension/blob/c305e08e0419bb4e59afdd58fc42660437176b0e/f/common/wrappingS-IDLE.js#_37. We need to implement a mechanism that removes events that we do not want to propagate to page scripts and possibly modify the events.

Additional information / notes

Adding event listeners to captuiring phase of window object and other affected objects might work.


Log in to comment on this ticket.

Metadata