Green’s Dictionary of Slang

kniff-knaff n.

[? link to Scot. kniff, lively, alert]

a joke, a jest.

[UK]E. Hooker Pref. Pordage’s Mystic Div. 15: What shal wee sai [...] of [...] Railleries and Drolleries, Quirks and Quillets, Trics and Trangams, Kniff-knaffs, Bimboms, &c.? [OED].