pyllyukko / user.js

user.js -- Firefox configuration hardening
MIT License
2.73k stars 233 forks source link

FF 58 HTML5 Canvas Global Block #345

Open collinbarrett opened 6 years ago

collinbarrett commented 6 years ago

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.

canvas

Source: gHacks

0x00cl commented 6 years ago

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

collinbarrett commented 6 years ago

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.

pyllyukko commented 6 years ago

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.

Atavic commented 6 years ago

about:config canvas.*: https://github.com/pyllyukko/user.js/issues/38

Thorin-Oakenpants commented 6 years ago

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