DescriptionIt seems the extension needs to inject individual style rules in the content script (using `insertRule` [1]), simply assigning the `textContent` property of the style element is not an option. In that case, we can simply return individual rules from our generated style sheet.
The extension should only call this function if the platform does not support user style sheets.
[1]: https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleSheet/insertRule
Patch Set 1 #
MessagesTotal messages: 6
|