Might not work but someones response to a similar question on a local newsgroup:
“Maybe laughing and saying “They won’t hurt you” will calm you pet down when fireworks are going off?
Don’t think it’ll work? Then why do dog owners do it to people that are clearly afraid of their dog jumping up at them barking their head off?”
Made me giggle but annoyed dog owners for some reason …