Page 1 of 1

Is it possible to add Canvas Blocker extension?

Posted: Fri Oct 29, 2021 11:31 am
by Fvert
For Google Chrome there is a Canvas Blocker extension. Is it possible to add it to the application as it is done in the HelloWorldExt and PageColorExt examples? If you just change the path, nothing changes. https://browserleaks.com/canvas

Re: Is it possible to add Canvas Blocker extension?

Posted: Sat Oct 30, 2021 10:17 am
by salvadordf
Browser extensions support is very limited as you can see in those demos.

The new and experimental mode called "Chrome runtime" has much better support but that mode is not fully implemented in CEF and it has some issues.

You can try setting GlobalCEFApp.DisableReadingFromCanvas to true which is equivalent to have this command line switch "--disable-reading-from-canvas". Perhaps that's what the canvas extension does.

Re: Is it possible to add Canvas Blocker extension?

Posted: Sat Oct 30, 2021 11:45 am
by Fvert
Thanks for answers. No, it adds noise on canvas.