Skip to content

Conversation

@joshseltzer
Copy link
Contributor

It seems that CSS was no longer being injected successfully into iframes. I am not sure why it stopped working (seems to have worked at some point in the past), but this solution does away with the old system for handling iframes (though that deprecated code could still be cleaned up), and simply iterates through all iframes found on the page and injects a <style> element for each one.

@ghost
Copy link

ghost commented Dec 28, 2022

Does this fix the issue ever since Chrome 108 of user styles not loading upon initial page load? The workaround is to reload the page for the styles to be applied. Hoping this patch obviates the need for the workaround.

@joshseltzer
Copy link
Contributor Author

Does this fix the issue ever since Chrome 108 of user styles not loading upon initial page load? The workaround is to reload the page for the styles to be applied. Hoping this patch obviates the need for the workaround.

@589290 not sure, I am not able to replicate the issue you're describing on Chrome 108, is there an existing issue?

@Thorvarium
Copy link

is this still an issue?

@rthomasdesign
Copy link

I'm still experiencing this issue. Chrome Version 116.0.5845.188

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants