Do you have a better way to add functionality to a closed source browser?
Before you say "HTML5", not there yet, and didn't exist in the period back when Flash became popular.
Please stop being so dogmatic, this is software development, not religion.