Skip to main content

One post tagged with "user-scripts"

View All Tags

· 6 min read
Lorenzo Pichilli

Learn how to leverage Flutter's InAppWebView 6 plugin

article-banner.webp

Sometimes you may want to inject JavaScript code before or after the web page is loaded in order to add, replace or remove content from the web page or to change some web page logic.

In this article, we are going to understand what User Scripts are and how we can use them to inject custom JavaScript code at a specific time inside the WebView using the flutter_inappwebview plugin.