Most women would not like it at all. It is far too "familiar" for a stranger to do some thing like that. Other things girls don't usually like (there are exceptions):
3. being grabbed at or touched
That is, by men she does not know, or men she does not know well enough to either take it as compliment or as a joke.
Tip: Most girls really don't like that kind of behavior.