Firefox got popular when they listened to users and made a product people wanted.
They did this despite fierce competition from a huge monopolistic company with quite a locked in and anticompetitive platform.
And today they make something crazy like a half billion dollars a year from firefox, they have enough resources to make a competitive browser.