Skip to content

Can I inject js code before the document loads? #459

@uldaman

Description

@uldaman

evalJavaScript must be run after the page has finished loading. But i want to inject javascript code before the document loads. Reference:

WKUserScript(source: sourceJs, injectionTime: .atDocumentStart, forMainFrameOnly: false)

so do we provide this flutter api?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions