The only way to get rid of Netanyahu is when the VOTERS decide they now prefer what the opposition is offering rather than what Netanyahu is offering. Politics is not an exact science and an attack on Iran on election day could leave the public demanding Bibi's head, it could have them coming out in droves to showing their support for him and reelecting him with a huge majority but then again it might make no difference at all. This is a democracy and just because you don't like Bibi and want him out doesn't mean we all have to feel that way ( he has done alot of good things for the country ) and at the end of the day its majority that rules on election day that decides his future.
Syria foreign minister in Tehran for talks with Iran, Russia (Reuters)
from the article: Attack on Iran may be only way to get rid of Netanyahu