kkapsner / CanvasBlocker

A Firefox extension to protect from being fingerprinted.
https://canvasblocker.kkapsner.de
Mozilla Public License 2.0
1.15k stars 87 forks source link

[Feature Request] Add white list fake block mode #570

Open xeptore opened 3 years ago

xeptore commented 3 years ago

Adding fake block mode for white listed domains/URLs

Description

Currently, there is a strict line between white listed and other domains/URLs for default block mode. After a while using the extension, I realized switching a lot between a website, copying its URL and adding it to specific domains/URLs list, then setting its block mode to fake. Finally, before leaving the website, I have to remove previously added domain/URL from custom domains/URLs list.

Expected Behavior

I need to be able to fake canvas API only for whitelisted domains/URLs including the temporary ones.

Possible Solution

Add a "fake only whitelist" option to default block mode dropdown menu.

Your Environment

kkapsner commented 2 years ago

Should not be too difficult... I can see the benefit of it.

kkapsner commented 2 years ago

I looked into it a little bit and find the mode extremely confusing. But there may be other ways to improve this specific use case (using the "allow only whitelist" block mode). Maybe a two stage whitelisting process: so if the page is blocked the first whitelisting changes to fake and the second to allow... let's see if I can make if work.

kkapsner commented 2 years ago

Btw.: there is already a quick way to switch to fake mode for a specific domain/URL:

https://user-images.githubusercontent.com/1105157/140652069-109aa10d-795d-40cf-867c-6ce48eac2f2e.mp4

Reading your description this would already help. The only thing missing is a "temporary fake list" that is cleared when the browser session is closed.