>>212361881 (OP)I never pet a dog unless the owner indicates it's OK if they are strangers to me.
If I see a loose dog running around the neighborhood and I know whose it is I normally yell, "go inside!" and it usually goes home.
The only time I pet a stray dog I didn't know was because it was a tiny teacup dog that was pathetically scared, so I tried to find where it lived and it followed me around whike I knocked on doors.
I really wish people would not bring their dogs into stores. Legally we cannot ask them if they are service animals, so people abuse that and take their dogs everywhere. I think it's very low class behavior, and nobody did it when I was a kid, but now lots of people do it and I hate them for it.