Adding the thing that complains is a one-time cost. It may work on Firefox now, but making sure that it continues working on Firefox is a continuous resource investment.
And not adding it and not testing for Firefox would cost nothing, and currently improve the user experience - because it actually just works, as a lot of things just do.
I recall that the advice given to web developers for a long time was to query browser capabilities instead of relying on a user agent string. If this site is indeed relying on the user agent string, I don’t get why larger companies which probably have better capable teams resort to this.