"Disable reading from HTML5 canvas" breaks extension icons

Known issues, outstanding bugs and available workarounds
Post Reply
SuperValue
Posts: 9
Joined: Thu Dec 17, 2015 9:48 am

"Disable reading from HTML5 canvas" breaks extension icons

Post by SuperValue »

When "Disable reading from HTML5 canvas" is turned on, extension icons are frozen and can't be changed.

The best example I have is LastPass. Normally, the LastPass icon changes from Gray to Red after you log into it (change icons I believe). When the "Disable reading..." feature is turned on, the icon never changes no matter what. Whatever icon you see in the browser before you turn on "Disable reading.." is the one you are stuck with. I suspect there is some JS code they are using to change icons after you login and this breaks that. I also see it affecting uMatrix as well.

User avatar
oftentired
Posts: 1727
Joined: Tue May 13, 2014 3:14 am

Re: "Disable reading from HTML5 canvas" breaks extension ico

Post by oftentired »

Acknowledged in a previous bug report link here
I'll move this Topic to Known Issues forum as it was acknowledged in September.
flashpeak wrote:I will take a look into this problem. There should be a way to enable the canvas reading for extensions only.
paul1149 wrote:Thanks to @dev here, I've isolated the new html5 canvassing security option as the cause of toolbar icons not being able to change their color as they should. This setting locks the icons into whatever state they are in when it is set. Affected are icons to such extensions as Lastpass, ublock, gmail notifier, etc. This has been in effect over the last several SJ versions.
For those of you who wear aluminum foil hats, the voices lie, don't believe them!

64 Bit SJ on Win 11

flashpeak
Site Admin
Posts: 371
Joined: Mon Apr 21, 2014 3:57 pm

Re: "Disable reading from HTML5 canvas" breaks extension ico

Post by flashpeak »

Actually this problem is supposed to have been fixed a while back. Are you using the latest version?
Stephen Cheng
FlashPeak Inc.

josegimcam
Posts: 222
Joined: Fri Nov 13, 2015 5:14 am

Re: "Disable reading from HTML5 canvas" breaks extension ico

Post by josegimcam »

Persists in 7.0.8.0

DiadoNiki
Posts: 10
Joined: Fri Feb 19, 2016 10:21 am

Re: "Disable reading from HTML5 canvas" breaks extension ico

Post by DiadoNiki »

It persist in 8.0.1.0 also. The icon of uMatrix is frozen and show no counter of blocked page elements, but the icon of internal Ad-block work.

josegimcam
Posts: 222
Joined: Fri Nov 13, 2015 5:14 am

Re: "Disable reading from HTML5 canvas" breaks extension ico

Post by josegimcam »

Confirmed for 8.0.1.0

josegimcam
Posts: 222
Joined: Fri Nov 13, 2015 5:14 am

Re: "Disable reading from HTML5 canvas" breaks extension ico

Post by josegimcam »

It´s also affecting WOT icon in 8.0.1.0

neillawrencekkd
Posts: 22
Joined: Sun Jan 29, 2023 10:24 am

Re: "Disable reading from HTML5 canvas" breaks extension icons

Post by neillawrencekkd »

SuperValue wrote:
Tue Feb 16, 2016 2:53 pm
When "Disable reading from HTML5 canvas" is turned on, extension icons are frozen and can't be changed.

The best example I have is LastPass. Normally, the LastPass icon changes from Gray to Red after you log into it (change icons I believe). When the "Disable reading..." feature is turned on, the icon never changes no matter what. Whatever icon you see in the browser before you turn on "Disable reading.." is the one you are stuck with. I suspect there is some JS code they are using to change icons after you login and this breaks that. You need to allow access to the Canvas API to only verified sources and that’s it. But in my opinion there is no such function in opera. I am fascinated by such problems, for some reason I like solving them. I recently started studying how to create an online learning management system scratch, read how you can develop an LMS from scratch, and so far nothing is clear to me. But I'm sure I'll find the answer. This is not the first time I have encountered difficulties. I also see it affecting uMatrix as well.
My understanding is that when you enable the "Disable reading from HTML5 Canvas" option, the browser blocks access to the Canvas API for all scripts, including those that use extensions to change icons. I should think...

Post Reply