Netscape lost the ability to charge before it went open source. Among other things, Microsoft released internet explorer for free (part of embrace, extend, extinguish, afaik).
The open sourcing of Netscape 5.0 happened in early 1998, and AOL purchased Netscape later that year. Firebird/Firefox came a few years later.