ETag filtering

This commit is contained in:
Kevin R
2023-05-10 11:28:43 +02:00
parent 7358f0c2a4
commit 14a0832973
6 changed files with 33 additions and 9 deletions

View File

@@ -147,6 +147,20 @@ function getData() {
changeSwitchButton("domainBlocking", "domainBlocking");
changeSwitchButton("pingBlocking", "pingBlocking");
changeSwitchButton("eTagFiltering", "eTagFiltering");
})
.then(() => {
/**
* Since Firefox 85, eTags can no longer be
* used for tracking users over multiple sites.
*/
browser.runtime.sendMessage({
function: "getBrowser",
params: []
}).then(resp => {
if(resp.response === "Firefox") {
document.getElementById('etag_p').remove();
}
}, null);
}).catch(handleError);
}