fluttercommunity / fluttercommunity/flutter_webview_plugin
Can I inject js code before the document loads?
Open
- Dominant language
- Java
- Stars
- 1.5k
- Forks
- 938
- PR merge metrics
- No merged PRs in 30d
Description
`evalJavaScript` must be run after the page has finished loading. But i want to inject javascript code before the document loads. Reference:
```swift
WKUserScript(source: sourceJs, injectionTime: .atDocumentStart, forMainFrameOnly: false)
```
so do we provide this flutter api?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.