How to Block Canvas Fingerprinting in Firefox

Just when you think you’ve done a pretty good job of protecting your online privacy, along comes another trick for tracking your browsing habits …

Canvas Fingerprinting is a new way of tracking Internet users that has come to some prominence recently. I explained the concept some time ago and suggest you check out the article for detailed information on what it is, what it does and how to prevent it. Simply put, it makes use of the Canvas element that is part of HTML5. The element can draw on the screen and the fingerprinting makes use of the fact that results are different depending on a number of factors including the browser and operating system that is being used.

It means in essence that Canvas can be used to identify users based on those drawings. It is especially powerful when combined with other information about the user, the user agent information for example or IP address.

There are a couple of things that Internet users can use to block the fingerprinting. One of the easiest options is to disable JavaScript for instance. There is also a Chrome extension, and the new Firefox add-on CanvasBlocker.

The add-on blocks the canvas element on pages that you visit and gives you control over the blocking as well.

It is set to ask for permission for visible canvas elements by default as sites may use the canvas element for other purposes besides user tracking.

canvas fingerprinting

CanvasBlocker options

You can change the block from that in the options if you prefer a different setting. This includes blocking all canvas elements on all pages, only allowing whitelisted elements, to block canvas only on blacklisted sites or to allow everything.

Both whitelist and blacklist are maintained in the preferences as well. CanvasBlocker supports regular expressions, and domains are separated with a “,” in both lists. Google domains and the author’s own domain are whitelisted by default with options to remove those from the whitelist in the options.

The last option available there is to allow canvas in PDFs. Firefox’s native PDF reader pdf.js uses canvas to display contents which is why it is enabled by default. It is however possible to disable this there as well.

You can test the functionality of the extension on Browserleak’s Canvas Fingerprinting test page. Canvas and Text Api for Canvas should return the value false in the test which means that the feature is not supported on that page.

Closing Words

CanvasBlocker is a useful extension for the Firefox web browser that can block the Canvas element selectively or completely in Firefox.

Link to Original Content

Tags: , , ,

Comments are closed.