ghacks Technology News

Male or Female? Your Browser’s History Might Tell

A website should not be able to read the the history of websites that a user visited previously. An ingenious CSS hack and some spicy Javascript is however enough to use a trial and error method to find out if a user has been to specific websites.

Some webmasters use this method to display the social bookmarking and news batches of websites that their visitors have been through which is very effective in gaining popularity on those websites.

Others came up with a script that is using this method to estimate if the visitor is male or female. The Javascript makes use of the Quantcast Top 10K websites and the male:female ratio that they provide plus a neat algorithm to compute the percentages for male and female likeliness.

Mine turned out 50/50 because I don’t use the history at all. Good luck and let me know what the script thinks about your gender..

The same principle could possible be used to display targeted advertisements. Have been to a lot of parenting websites lately? How about parenting ads? Like sports? How about an ESPN subscription? It’s a bit scary, don’t you think?

Enjoyed the article?: Then sign-up for our free newsletter or RSS feed to kick off your day with the latest technology news and tips, or share the article with your friends and contacts on Facebook or Twitter.

Related Articles:

Pop-up History For Chrome, Display Browsing History In A Popup
Display Firefox Browsing History With History Tree
History Deleter, Firefox History Auto Deletion rules
Tab History Redux, Makes Child Tabs Inherit A Tab’s History
Google Chrome History Manager



About the Author:Martin Brinkmann is a journalist from Germany who founded Ghacks Technology News Back in 2005. He is passionate about all things tech and knows the Internet and computers like the back of his hand. You can follow Martin on Facebook or Twitter.

Author: , Monday July 28, 2008 -
Tags:, , , ,


Responses so far:

  1. kazounet says:

    50/50 for me too, though I have a concequent firefox history :/

  2. Jonathan says:

    Likelihood of you being FEMALE is 54%
    Likelihood of you being MALE is 46%
    Odd… :)

  3. Thinker says:

    Likelihood of you being FEMALE is 2%
    Likelihood of you being MALE is 98%
    Hehe :D Mine top male sites:
    Site Male-Female Ratio
    thepiratebay.org 2.13
    leftlanenews.com 2.23 ^^

  4. Rarst says:

    96% Male

    Too much software portals… :) And the method is seriously cool and clever.

  5. JoeSurfer says:

    I had 100% of being female… news to me seeing as I’m a guy. The method might be cool but perhaps there’s some assumptions made on how ‘male’ or ‘female’ a site is?

Leave a Reply   Follow Ghacks   Subscribe To Comment Rss

Subscribe without commenting

© 2005-2012 Ghacks.net. All Rights Reserved. Privacy Policy - About Us