Closed veliona closed 5 years ago
Hi @veliona!
Hmm, that's going to be a troublesome, or nearly impossible, fix.
To apply the style, we have two separate userscripts running on github.com
and the iframe of render.githubusercontent.com
. Since the iframe is on a different domain, there isn't any way to perform cross-domain communication.
If you really need to constantly enable/disable the style, then I would suggest switching to use Stylus and our GitHub userstyle.
Thank you for your response @Mottie! :)
Feel free to close the issue if you think that it's not worth the trouble and thanks for the suggestion.
Yes, I think this is unsolvable via regular means. There are ways to communicate with an <iframe>
but to my understanding, if said <iframe>
is properly sandboxed, these methods will not work. So yeah, you would have to use the userstyle version to fix this (or simply reload the page).
Hi, I found the reproducible issue that happens while browsing with DarkScript toggled off on Jupyter notebooks. Even if the DarkScript is off, Jupyter Notebooks remain themed in black. Might be related to #56