The jokesters’ custom has been around for hundreds of years, although its exact birth is difficult to pinpoint.