I’m a little bit confused on whether or not Firefox addons support the attachShadow function yet. If I read https://developer.mozilla.org/en-US/docs/Web/Web_Components/Shadow_DOM it seems that it’s the case, but when I test it out with my addon, it says that “attachShadow is not a function”.
I’ve also read some pages that says that you have to enable it under your config, but would that not mean that all the users of the addon, would have to do the same? In that case, I need to find another way.
Other sources: