The spray air can and the pennies didn't help us, Ali just barked at them. She isn't afraid, she is MAD. The spray bottle works for us at home. When we are out walking and strangers are coming I tell her to "leave it" and she is catching on, doesn't even look at some people and rarely barks. Her barking is just the irritating puppy looking for attention type but it needs to stop. Sometimes I have to get down and force her to look at me and tell her to leave it or stop.
If it's a skateboard or motorcycle forget it, nothing works