I bought this device for the 3 dogs next door to me:
http://www.ultimatebarkcontrol.com
It seems to work.
I bought something similar. Mine is concealed in a bird house pointed right at my inconsiderate neighbor’s porch. Dog barks once and then just growls. Dog lover and responsible pet owner are two separate things.
. In the last few weeks, when they bark, I just yell at them to "SHUT UP", they do. Maybe the owners have heard me and now keep them inside more.
Our dog barks when others do, we have to tell him to shut up, the other people should make their dogs behave or get rid of them.