Skip to content

window.stremio_server_url injection races with WebUI bootstrap #54

Description

@kKaskak

At wevbiew.rs:163-168, execute_script runs during content_loading but is async. The WebUI's inline <script> tags can execute before the injection lands, leaving window.stremio_server_url undefined when first needed. Same issue for stremio_server_ipc_key. Need a synchronization mechanism or use add_script_to_execute_on_document_created.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions