user.js
user.js copied to clipboard
FF 58 HTML5 Canvas Global Block
FF 58 now supports HTML5 canvas image blocking. It provides a per-site permission pop-up. It'd be great if there was a way for user.js to enable this block setting globally.
Source: gHacks
It's already enabled.
When you set privacy.resistFingerprinting to true it enables canvas blocking.
https://bugzilla.mozilla.org/show_bug.cgi?id=967895#c68
Right, thanks, but I was wondering if there was a setting to essentially "Don't Allow" globally for all sites, rather than answering the prompt on each site.
Granted, I haven't combed through that entire bugzilla thread yet, so maybe there is discussion around that already. Will read that later and update. Thanks for sharing that link.
If you use the relaxed branch, you'll have an option to "Always remember my decision". Don't know if there's a global setting, but I'll look into it.
about:config canvas.*: https://github.com/pyllyukko/user.js/issues/38
FYI: 1429865
I would assume it will be similar to all the other default permissions landed in 58: so something like permissions.default.canvas
or since its tied to privacy.resistFingerprinting
maybe privacy.permissions.default.canvas
.. with 0=always ask, 1=allow, 2=block