There are several claims, and the answer filed here was honest that the simplest one is the real answer: play the games.
Two key combinations circulated — pressing F5, and clicking then hitting Ctrl+N. Neither was an official feature, and F5 in particular is just the browser refresh command, which tells you something about how these rumours started.
Earning a high score on the site's games. Once you reached the top of the score tables, items unlocked in bulk; short of that, they came loose gradually as you played. The wardrobe was tied to achievement, not to a hidden input.
That is a more satisfying answer than a cheat code, and it is the one that matches how the site was built. Since inventory lived on Zwinky's servers, there was nothing on your machine to manipulate — which is why every key combination rumour either did nothing or was a coincidence someone reported as success.