Actually
it just uses your browser history to guess.
Here's the link. For me it said there was a 50-50 chance that I could be male or
female. It finds pages in history with the visited CSS style, checks them against the Quantcast top 10,000 sites, applies a ratio of male to female users for each site, and then guesses your gender.