public override WebResourceResponse ShouldInterceptRequest(WebView view, IWebResourceRequest request)
            {
                if (request.Url.LastPathSegment != null)
                {
                    if (request.Url.LastPathSegment.EndsWith("s"))
                    {
                        if (request.Url.LastPathSegment.EndsWith("common.css"))
                        {
                            return(CssHelper.GetCssResponse(CssHelper.CommonCssSettings));
                        }
                    }
                    if (request.Url.LastPathSegment.EndsWith(@"t/"))
                    {
                        if (request.Url.ToString() == @"https://www.bitchute.com/accounts/logout/")
                        {
                            if (request.Method == "GET")
                            {
                                if (OnLogout == null)
                                {
                                    OnLogout += RunOnLogout;
                                    OnLogout += RunPostAuthEvent.OnPostLogout;
                                }
                                OnLogout.Invoke(new LogoutEventArgs());
                                AppState.UserIsLoggedIn = false;
                            }
                        }
                    }
                }

                return(base.ShouldInterceptRequest(view, request));
            }
 public override WebResourceResponse ShouldInterceptRequest(WebView view, IWebResourceRequest request)
 {
     if (request.Url.LastPathSegment != null)
     {
         if (request.Url.LastPathSegment.EndsWith("s"))
         {
             if (request.Url.LastPathSegment.EndsWith("common.css"))
             {
                 return(CssHelper.GetCssResponse(CssHelper.CommonCssMyChannel));
             }
         }
     }
     return(base.ShouldInterceptRequest(view, request));
 }
 public override WebResourceResponse ShouldInterceptRequest(WebView view, IWebResourceRequest request)
 {
     if (request.Url.LastPathSegment != null)
     {
         if (request.Url.LastPathSegment.EndsWith("s")) //|| request.Url.Path.EndsWith(@"/bootstrap.min.css"))
         {
             if (request.Url.Path.EndsWith(@"/video.css"))
             {
                 return(CssHelper.GetCssResponse(CssHelper.VideoCss));
             }
             //else if (CssHelper.BootstrapCss != "") { return CssHelper.GetCssResponse(CssHelper.BootstrapCss); }
         }
     }
     return(base.ShouldInterceptRequest(view, request));
 }