Skip to main content

Disable Injection

Disable all Fullstory processing and JavaScript injection for a mobile WebView.

Fullstory capturing automatically processes every WebView and WebViewClient in your app. If you wish to disable all Fullstory-related JavaScript and WebViewClient processing for a specific WebView, you can call FS.disableInjection with that WebView.

This must be called prior to any WebView loading or WebViewClient calls, or else we cannot guarantee that processing will be fully disabled.

public static void FS.disableInjection(WebView webView);

Example Invocation

WebView webView = findViewById(R.id.web_view);
FS.disableInjection(webView);