diff --git a/lib/src/widgets/kontext_webview.dart b/lib/src/widgets/kontext_webview.dart index 9b5657fe..3f41683b 100644 --- a/lib/src/widgets/kontext_webview.dart +++ b/lib/src/widgets/kontext_webview.dart @@ -190,6 +190,12 @@ class KontextWebview extends HookWidget { } }, onReceivedError: (controller, request, error) { + // ERR_BLOCKED_BY_ORB errors are caused by third-party ad creatives + // loading cross-origin resources without proper CORS headers. + // They are not actionable on our side, so we suppress them. + if (error.description.contains('ERR_BLOCKED_BY_ORB')) { + return; + } final webViewMessage = 'Error received in InAppWebView: $error, request: $request'; _logError( webViewConsoleErrorLimiter,