[1] Every time someone uses profanity, others who witness it collect a "fine", by insisting that the offender put some money into the box.
[2] The container may be made of glass, porcelain, or metal, and may have a lid with a slot.
The concept appears to have originated in the 1890s, under the name "swear box",[3][4] and to have gained popularity in the 1910s.
Most swear jars are homemade, however tins and boxes specifically designed for the purpose are marketed commercially, some of which have a "scale of charges" printed on them.
Modern versions, often glass, are available online via eBay, other shopping websites, and even sites dedicated to selling only swear jars.