Skip to content

Conversation

leafOfTree
Copy link

@leafOfTree leafOfTree commented Sep 24, 2024

This is to fix #232

Add check for document.head. If it's null, call appendChild on the event DOMContentLoaded

@ignatiusmb
Copy link
Member

Thanks for the PR! I've added some context in #232 (comment) but it seems like we'll need to find another fix as this would effectively invalidate the injectImmediately setting. Perhaps we could try removing the setting altogether, but I'll need to check what behaviors was prevented by enabling it in the first place

@ignatiusmb
Copy link
Member

Thanks for this, #238 has been merged and should fix the issue

@ignatiusmb ignatiusmb closed this Nov 1, 2024
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.

Error on macos Chrome - Uncaught TypeError: Cannot read properties of null (reading 'appendChild')

2 participants