You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kkapsner bf757a5431 Added mail.google.com to the convenience preset 1 day ago
.documentation Updated description 2 weeks ago
.github Improved issue template 2 years ago
.tools Linting of .tools and test 1 week ago
.vscode Initialized npm 1 week ago
_locales Typo 6 days ago
browserAction Big linting 1 week ago
icons Added whitelist inspection 7 months ago
lib Added window.open protection 5 days ago
options Added mail.google.com to the convenience preset 1 day ago
pageAction Added linting for consistent-return 1 week ago
test Added window.open protection 5 days ago
themes Fix export background color 1 month ago
versions Added window.open protection 5 days ago
.codebeatsettings Correct name for .codebeatsettings 1 week ago
.eslintignore Linting of .tools and test 1 week ago
.eslintrc.json Added linting for consistent-return 1 week ago
.gitattributes :boom::camel: Added .gitattributes 5 years ago
.gitignore Initialized npm 1 week ago
LICENSE.txt Added MPL 4 years ago
README.md Removed write rights for codebeat 2 weeks ago
manifest.json Added default values for mobile 5 days ago
package-lock.json Initialized npm 1 week ago
package.json Initialized npm 1 week ago
releaseNotes.txt Added mail.google.com to the convenience preset 1 day ago

README.md

CanvasBlocker codebeat badge

This add-on allows users to prevent websites from using some Javascript APIs to fingerprint them. Users can choose to block the APIs entirely on some or all websites (which may break some websites) or just block or fake its fingerprinting-friendly readout API.

IMPORTANT: you should only have ONE addon/setting set that protects an API. Otherwise you could face massive performance issues. (E.g. EclipsedMoon for Palemoon has ‘canvas.poison’ which is known to cause issues: https://github.com/kkapsner/CanvasBlocker/issues/253#issuecomment-459499290) But setting privacy.resistFingerprinting to true is fine.


Protected “fingerprinting” APIs:

  • canvas 2d
  • webGL
  • audio
  • history
  • window (disabled by default)
  • DOMRect
  • navigator (disabled by default)
  • screen

More information on fingerprinting can be found at:


Beta versions can be found at https://canvasblocker.kkapsner.de/versions/.


The different block modes are:

  • fake: Canvas Blocker’s default setting, and my favorite! All websites not on the white list or black list can use the protected APIs. But values obtained by the APIs are altered so that a consistent fingerprinting is not possible
  • ask for permission: If a website is not listed on the white list or black list, the user will be asked if the website should be allowed to use the protected APIs each time they are called.
  • block everything: Ignore all lists and block the protected APIs on all websites.
  • allow only white list: Only websites in the white list are allowed to use the protected APIs.
  • block only black list: Block the protected APIs only for websites on the black list.
  • allow everything: Ignore all lists and allow the protected APIs on all websites.

Special thanks to:

  • spodermenpls for finding all the typos
  • Thorin-Oakenpants for the icon idea
  • anthologist and unbranched for the Italian translation
  • Maleficient for the French translation
  • yfdyh000 and KrasnayaPloshchad for the Chinese translation
  • micrococo for the Spanish translation
  • STim99 for the Russian translation

If you want to support this addon you can donate to the following addresses:

  • bitcoin: 159Y9BLcfHyrp6wj6f3syEuk92xkRVTiie
  • bitcoin cash:qrchnszkdwv9knhg9wjucrqy43rpl4klkq7jhkc8dz
  • monero: 482QYZaagALWtPmwbptwBaexDYmcVsJrhJp2VVjTgjYA3Kk1YyMdSg9Wz2qz1Gh31E843PFVCDWS4hR4Bjf6ipWuB9iz2cs