Right, you can't change the software and still call it
"Firefox". If
you want to use "Firefox", you must only use the extensions permitted
by Mozilla.
You can change it and still call it Firefox. What you can't do is redistribute the
modified version and keep calling it Firefox. Not very different from Apache License
trademark clause.