flattr-extension
flattr-extension copied to clipboard
Use useCapture option when collecting events in content script
Background We are using event listeners in our content script to collect certain user interactions with the website. Since we're listening in the bubbling phase the site may stop the event propagation or the event we're listening to might not bubble up (e.g. media events) in which case we won't get notified of the event occurring.
What to change
Set useCapture option to true for all event listeners in the content script which are used for the data collection.