-
Notifications
You must be signed in to change notification settings - Fork 525
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FYI - Detecting Canvas Defender and recovering the original canvas value #458
Comments
Holy shit! Thanks for sharing that link. This also makes some of our userscripts easily detectable btw ... |
I think all the points in the article do not apply to CanvasBlocker. The point is that Firefox has some additional WebExtension APIs that allow addon-code to run in the (security) context of the web page (exportFunction). But if you create a WebExtension that also has to run on Chrome or even Edge you cannot use them. That's why CB is only for Firefox. (Although I recently got a request for a Chrome version: kkapsner/CanvasBlocker#203 - let's see how this works out... I also did a test where I could extract the canvas fingerprint with Canvas Defender installed without any additional code - the addon code was just not loaded fast enough... WebExtensions are a nightmare to build a privacy addon with... @earthlng: these APIs would also allow the history.length to be spoofed in a sneaky fashion. To be honest: it would be really simple to include this in CanvasBlocker... ;) |
Just realized they removed the exportFunction documentation: https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Content_scripts$compare?locale=en-US&to=1348378&from=1348018 |
Here my test page for the extraction: https://canvasblocker.kkapsner.de/test/settingsLoading.php Canvas Defender: CanvasBlocker: |
Regarding |
https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Sharing_objects_with_page_scripts |
can you show me how, please? I can't wrap my head around how to exportFunction a getter in a way that still makes it possible to check the original history.length (to know what to return) while at the same time prevent the page from seeing the custom function. |
@earthlng: thanks for the new link - good to know that it is still documented. @Thorin-Oakenpants: I do not think that the situation is that bad. Most dddons do not need to provide functions that can be called by the website. But I have not checked and unfortunately all the anti-fingerprinting and some of the privacy addons have to. So if they are not carefully they might make things wore. |
One by one on an individual basis. Basically look in the code of the addon or the "bad" guys and see what of the browsers APIs they are using/changing. |
Evaluating the privacy implications of a canvas fingerprinting countermeasure
Can mozilla and google recover the original canvas value if you use privacy.resistFingerprinting to spoof it?
The text was updated successfully, but these errors were encountered: