Skip to content

fix: improve tidal-hifi compatibility#99

Merged
Inrixia merged 1 commit intoInrixia:masterfrom
Brskt:fix-tidal-hifi
Jan 20, 2026
Merged

fix: improve tidal-hifi compatibility#99
Inrixia merged 1 commit intoInrixia:masterfrom
Brskt:fix-tidal-hifi

Conversation

@Brskt
Copy link
Contributor

@Brskt Brskt commented Jan 20, 2026

Summary

  • Add support for contextIsolation being disabled (tidal-hifi uses this)
  • Fix document.body null crash by falling back to document.documentElement with MutationObserver
  • Add async script waiting to handle different script loading timing

Fixes #51

Test plan

  • Test with tidal-hifi

- Support contextIsolation: false by detecting process.contextIsolated
- Wait for scripts asynchronously instead of blocking while loop
- Handle document.body being null during early loading
@Inrixia
Copy link
Owner

Inrixia commented Jan 20, 2026

Lgtm, I'll merge this now but won't releass until I can test, or something else version bumps.

@Inrixia Inrixia merged commit ce02ef7 into Inrixia:master Jan 20, 2026
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.

Black screen on app from today - Ubuntu Linux

2 participants