ladybird is passing more than 90% of the browser test suite. that's not science fiction.
as for detecting that the browser is not chrome/safari/firefox, the days where you could trust the user agent value to reliably identify a browser are long gone. ladybird will just have a value that will make it pass any checks.