diff --git a/patches/014-rewrite-obnoxious-blocked-message.patch b/patches/014-rewrite-obnoxious-blocked-message.patch index bfc0967..a0ce0cb 100644 --- a/patches/014-rewrite-obnoxious-blocked-message.patch +++ b/patches/014-rewrite-obnoxious-blocked-message.patch @@ -7,8 +7,8 @@ index b2df682d..7534ef31 100644 locale = env.get("preferences").as(Preferences).locale - error_message = translate(locale, message) -+ if message.includes?("This helps protect our community") || message.includes?("Watch on the latest version of YouTube") || message.includes?("Sign in to confirm you’re not a bot") || message.includes?("Please sign in") || message.includes?("This content isn't available, try again later") -+ error_message = "
Received error from YouTube: " + message + "
Please try reloading the page or try switching to another backend.
Original error message: " + message + "
Please try reloading the page or try switching to another backend. This will fix it almost all the time.