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.
Go to file
kkapsner b46341de90
Update web-ext
5 months ago
.documentation Added anchors to FAQ 1 year ago
.github Improve issue template 9 months ago
.tools Replace deprecated String.prototype.substr() 11 months ago
.vscode Fix eslint warning 11 months ago
_locales New translations 5 months ago
browserAction Do not use browser.extension.getURL 1 year ago
icons Status Icon revision 2 years ago
lib Added support for wildcards (*) in domains 9 months ago
options Allow clicks in url change input 11 months ago
pageAction Added SVG protection 1 year ago
test Use public bounce for data-URL test 9 months ago
themes Fix export background color 3 years ago
versions Added support for wildcards (*) in domains 9 months ago
.codebeatsettings Adjusted codebeat settings 3 years ago
.eslintignore Linting of .tools and test 3 years ago
.eslintrc.json Added testAPI and canvasAPI 3 years ago
.gitattributes 💥🐫 Added .gitattributes 9 years ago
.gitignore Initialized npm 3 years ago
LICENSE.txt Added MPL 8 years ago Update readme regarding built-in fingerprinting protection 5 months ago
crowdin.yml Fix crowdin.yml 3 years ago
manifest.json Version 1.9 12 months ago
package-lock.json Update web-ext 5 months ago
package.json Update web-ext 5 months ago
releaseNotes.txt Added support for wildcards (*) in domains 9 months ago

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: But setting privacy.resistFingerprinting to true and/or using the new fingerprinting protection introduced with Firefox 67 is fine.

Protected "fingerprinting" APIs:

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

More information on fingerprinting can be found at:

Beta versions can be found at

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.

You can contribute to CanvasBlocker by translating it and/or improving the translations. For further instructions go to

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