user.js icon indicating copy to clipboard operation
user.js copied to clipboard

FF 58 HTML5 Canvas Global Block

Open collinbarrett opened this issue 6 years ago • 5 comments

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

collinbarrett avatar Nov 07 '17 23:11 collinbarrett

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

0x00cl avatar Nov 08 '17 13:11 0x00cl

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.

collinbarrett avatar Nov 08 '17 14:11 collinbarrett

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.

pyllyukko avatar Nov 09 '17 22:11 pyllyukko

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

Atavic avatar Nov 20 '17 21:11 Atavic

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

Thorin-Oakenpants avatar Feb 03 '18 10:02 Thorin-Oakenpants