Inject custom JS scripts

User scripts (aka content scripts) is a powerful tool that unlocks many possibilities such as: content customization, security and privacy protection, enriching web app functionality. Injected scripts can also be a workaround when another WebView feature is not available: for example, due to the lack of granular cookie control in native WebView APIs, one method is to inject a script to augment document.cookie API.

How does it work on each WebView?