Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why are you specifically capturing the pixel size of the viewport? and likewise the user agent separately from request headers?


What is your comment referring to?


What network requests the site makes, presumably. On mobile though so I can't verify my assumption as easily


Yes. Here's the json for one sample post request:

    {
     "winner": "#e28b20",
     "useragent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.114 Safari/537.36 Edg/103.0.1264.49",
     "loser": "#997e79",
     "time": "20220711T161234",
     "inner-width": 3840,
     "uuid": "4f076d53-5d84-4b4d-923e-803db7ca6150",
     "color-a": "#e28b20",
     "color-b": "#997e79",
     "inner-height": 2040
    }




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: