If it's a cubicle door, bit of toilet paper, throw in the toilet as you leave.
If it's the main bathroom door, almost all that I come across are the ones with the big, soft-close hinge at the top. Place your palm on the end of the hinge and push diagonally towards the handle side of the door. Problem solved.
It also helps to carry around a little squirty bottle of isopropanol