Green’s Dictionary of Slang

nonsense n.

1. ‘melting butter in a wig’ (Grose, 1796) [presumably Grose’s own joke definition].

[UK]Grose Classical Dict. of the Vulgar Tongue (3rd edn).
[UK]Lex. Balatronicum.
[UK]Egan Grose’s Classical Dict. of the Vulgar Tongue.
[UK]Hotten Dict. of Modern Sl. etc.

2. ‘a girl playing with a dead man’s penis’.

[UK]Grose Classical Dict. of the Vulgar Tongue ms. additions n.p.: Nonsense, a Girl playing with a dead man’s penis.

3. money.

[UK]‘An Amateur’ Real Life in London I 559: [? To dub up the possiblesTo stand the nonsense—are nearly synonymous, and mean—will pay up any demand rather than be detained].
[UK]G. Kent Modern Flash Dict. 31: Stand the nonsense – pay the money, stand treat.
[UK]Flash Dict. in Sinks of London Laid Open [as cit. 1835].
[UK]Exeter & Plymouth Gaz. 4 Feb. 5/6: Money in general is known as: The Actual, Coliander Seeds, [...] Hard, John Davis, King’s Pictures, [...] Nonsense, Oil of Angels, [...] Rowdy.

4. a fiasco, a farce.

in P. Cheyney Stars Are Dark [DSUE].
[UK]Partridge DSUE (8th edn) 801: since ca. 1938.

In phrases