This happened so many years ago that any statue of limitations has expired, and anyway I only know the general area where it occurred. My dad was a "route man" for National Distillers, which in practical terms meant he put up advertising displays for their brands. But the folks on his route knew he was familiar with electronics a little because he had also done some radio repair.
One of the bars in the uptown area of New Orleans was having a problem with a dog that always came to their bar to pee on their downspout. The dog was smelling up the place and throwing things at it didn't discourage it from coming back. So they asked my dad what to do. He offered to fix it for them.
He ran an electrical cord to the downspout and put a piece of corrugated metal under it. We are talking a gap of a foot or more, so no arcing. He told the bar owner to unplug the cord during rain, but to watch for the dog. On a clear day, along came the dog. The owner plugged in the cord and watched.
The moment the dog hiked its leg and emitted a stream, or so the bar owner reported, the dog jumped three feet in the air, yelped an ear-splitting yelp, and ran down the alley like the devil himself was behind him. But he never came to that bar again. According to my dad, that's a true story from 1930s New Orleans.
Not a story about birds, but it IS a story about repelling unwanted animals and their... secretions.