Allegedly before they got their modern name toilets in England were sometimes called JAKES or COUSIN JOHN'S.
Enter Sir John Harrington. Though they did exist somewhat in prior times Sir John Harrington in the 15th century invented the indoor flushing toilet. Which may be why to this day they may be slangingly referred to as JOHNS. After Sir John. To honor his contribution to toiletry.
Now Thomas Crapper invented the toilet flapper valve. He had his company name engraved thereon so folks thought he had lent his name to it and that is why sometimes a toilet is referred to as a Crapper. After Thomas.
Other slang terms abound in various countries.
I've heard of head and throne f'r instance. Or potty.
I wonder if anyone ever wrote a poem about toilets?