How to permanently disable "Your browser is not supported" screen?

When I log in from browser it keeps complaining “Your browser is not supported”. Where do I turn this off?

This is not something you can just “turn off”, and unless you’re using an ancient browser version on an ancient device/operating system, there’s probably a problem with your server configuration, most likely the web server or reverse proxy configuration. So you need to find the root cause of the issue and fix it.

I suggest you either fill out the support template and additionally tell us in which browsers and on which devices the error occurs, or paste the error message into the search engine of your choice and into the search box of this forum.

Ok turned out that Firefox was using user-agent of version 127. Removing general.useragent.override from about:config solved the issue. So I guess lesson for me is to always browser addons to modify UA and not do it manually because doing it manually gets forgotten but browser addons would notify with icon.

But I still don’t like why is it “not something you can just “turn off””?

Since I was the one who paid for my computer, not NC, I should also be the one who decides what is fine to run and what is not. NC should not dictate it - at least not without ability to turn off.

As a quick fix I found that if I add the Location directive at the end of my apache conf then I am able to disable that behavior:

<Location "/nextcloud/dist/core-unsupported-browser-redirect.js">
  Require all denied
</Location>

Or alternatively inside Directory directive:

  <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteOptions InheritBefore
    RewriteCond %{REQUEST_URI} ^/nextcloud/dist/core-unsupported-browser-redirect\.js$ [NC]
    RewriteRule .* - [R=403,L]
  </IfModule>

It works fine except that nextcloud’s .htaccess is still able to see the request and respond with nextcloud’s default not found page. If somehow I could return empty response that would be even nicer.

You can turn it off. It’s a documented option in the Admin Manual. See here.

1 Like

Ok, seems I was wrong and you can actually turn it off.

But should you turn it off? I mean, the message told you that your Firefox was still using an old user-agent. So I guess at least it did some good. :wink: