Nobody in the tech community would have categorized Yahoo as "ready for a turn around". Companies that large that have been mismanaged for so long are filled with middle managers that are better at internal politics than driving initiatives. The odds of yahoo turning around were extremely low. They had to put a deal together to entice someone who had a good reputation from a leading tech company to put their name on the line to go try and sort out a giant mess.
If your gripe is the difference between her salary and the lowest paid then I understand. That doesn't mean you bash Mayer for playing by the rules that society has set up. Good for her for getting paid. That makes you no different than the middle manager who isn't helping their team push forward but instead is sitting in meetings taking pot shots at everyone else.
Support a law that says the top executive can't make x times the total comp of the lowest paid. Of course every law like that will create incentives to structure companies to maximize payments to execs. those conversations would add more to our discussion than just throwing rocks.