Closed TheGhostOfInky closed 3 months ago
The problem is cause by the fact that you pass a string object not a string literal to .innerHTML
. If you perform a .toString()
on your values it works.
In the Firefox core these string objects are not propagated correctly to my code that protects innerHTML somehow. But I think I found a solution.
Description
I am the developer of an open source test called ideosorter and I noticed canvasblocker causes the test to stop loading the localized frontend.
Expected Behaviour
I expected firefox to load the page as it does without canvasblocker, as I am the developer of the site and can confirm it has 0 canvas elements, much less tracking ones.
Current Behaviour
The following happens:
Possible Solution
Unfortunately I am not familiar enough with canvasblocker's codebase to know of a solution.
Steps to Reproduce (for bugs)
undefined
Context
I tried logging the values and the localization strings are always working, the faulty interception seems to happen when the strings are attached to an HTML element's innerHTML property, innerText is not affected and recreating the string (by splitting it into characters and rejoining) bypasses the fault.
Your Environment
Your Settings