CSUI without ShadowDOM
From @tyn1998
Ref: https://discord.com/channels/946290204443025438/946290204904390690/1044536470133809182
I'm developing an extension called which injects some charts to GitHub pages. Recently I consider to refactor the project with the great framework Plasmo and I read about the article about "CSUI" which points out that Plasmo makes use of shadowDOM to inject the UI, so host page's stylesheet won't affect the CSUI we inject into the page.
However, Hypercrx does want to use the stylesheets from GitHub directly so it can looks similar to other elements on GitHub. Can shadowDOM feature be an opt in/out option or is there any other way that I can use the styles provided by the host page?
Ref: https://discord.com/channels/946290204443025438/946290204904390690/1044536470133809182
I'm developing an extension called which injects some charts to GitHub pages. Recently I consider to refactor the project with the great framework Plasmo and I read about the article about "CSUI" which points out that Plasmo makes use of shadowDOM to inject the UI, so host page's stylesheet won't affect the CSUI we inject into the page.
However, Hypercrx does want to use the stylesheets from GitHub directly so it can looks similar to other elements on GitHub. Can shadowDOM feature be an opt in/out option or is there any other way that I can use the styles provided by the host page?