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


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.

Login to comment on this ticket.