As we are aware, blocking these APIs breaks some websites, so we need to allow some events to pass.
For example, hovering many elements on youtube shows a tooltip, and the tooltip will never disappear, unless we allow mouseleave like so:
"www.youtube.com": [
"mouseleave"
]
However, while we need to allow mouseleave for the individual elements within the page (divs), in order to enjoy the functionality of things like tooltips, we don't need to allow it for elements such as window, document, html, body, etc. etc., since they rarely offer any real functionality besides tracking.
I wonder if we could provide an element selector as a filter for allowing events to pass?
Would allow mouseleave events for elements within the body, so tooltips could work, but at the same time, block everything from the body up, so not allow the site to know when we're in another tab. Allowing multiple selectors will allow users to be very specific with their compromise between privacy and functionality.
As of version 0.1.8, the extension only blocks events targeted to the "document" or "window". So There is no need for this enhancement. If you still have a use case, please reopen this bug report.
As we are aware, blocking these APIs breaks some websites, so we need to allow some events to pass. For example, hovering many elements on youtube shows a tooltip, and the tooltip will never disappear, unless we allow mouseleave like so:
However, while we need to allow mouseleave for the individual elements within the page (
div
s), in order to enjoy the functionality of things like tooltips, we don't need to allow it for elements such aswindow
,document
,html
,body
, etc. etc., since they rarely offer any real functionality besides tracking.I wonder if we could provide an element selector as a filter for allowing events to pass?
For example, something like:
Would allow mouseleave events for elements within the
body
, so tooltips could work, but at the same time, block everything from thebody
up, so not allow the site to know when we're in another tab. Allowing multiple selectors will allow users to be very specific with their compromise between privacy and functionality.