The best strategy for the legitimate protesters is to press the current governments for reform. The governments in Iraq and in Lebanon have both already agreed to make certain changes. The protesters should accept those and pull back. If the politicians do not stick to those commitments the protesters can always go back into the streets and demand more.
Unfortunately there are external actors with lots of money who want to prevent that. They want to throw both countries into utter chaos or even civil wars because they hope that it will weaken those factions that have good relations with Iran.