[{"data":1,"prerenderedAt":280},["ShallowReactive",2],{"project-18370733":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":5,"maker":10,"posted_at":11,"year":12,"points":13,"comments":14,"rank_in_year":15,"shown_in_year":16,"top":17,"tier":18,"category":19,"subcategory":20,"format":21,"keywords":22,"reception":27,"sentiment":28,"stance_mix":29,"scored_comments":34,"aspects":35,"strip":40,"post_text":41,"what":42,"said":66,"maker_in_thread":136,"shape":141,"grid":145,"attempts":243,"same_week":244,"maker_shows":194,"maker_hidden":273,"reader_version":274,"card":275},"18370733","dieulot.fr","Detect which iOS devices are used on your site","title","Show HN: Detect which iOS devices are used on your site","https:\u002F\u002Fwww.dieulot.fr\u002Fidevice","dieulot",1541259894,2018,166,37,231,2155,11,"notable","security_privacy","browser fingerprinting","web_app",[23,24,20,25,26],"ios device detection","iphone model detection","safari","device identification","curious",0.19,{"positive":30,"neutral":31,"mixed":32,"critical":33},3,5,0,1,9,{"design":36,"execution":37,"privacy":38,"idea":39},{"positive":32,"critical":32},{"positive":32,"critical":33},{"positive":32,"critical":32},{"positive":30,"critical":32},[32,32,30,32,32,32,32,32,33,32,30,30,30,32,32,32,32,32,32,32,32,32,31,30,32,32,31,32,32,32,32,32,32,32,32,32,31],null,{"problem":43,"audience":53,"pricing":41,"motivation":41,"time_to_build":41,"stack":64,"openness":65,"stage":65,"team_size":65},{"value":44,"source":45,"evidence":46},"Apple hides exact iPhone\u002FiPad model in user agent; site owners want to know which device is used","inferred",[47,49],{"id":48},"post",{"id":50,"by":51,"text":52},"18373417","newman8r","You can get some details from the User-Agent header https:\u002F\u002Fdeveloper.mozilla.org\u002Fen-US\u002Fdocs\u002FWeb\u002FHTTP\u002FHeaders\u002FUser-Agent You can also get some information from media queries…",{"value":54,"source":45,"evidence":55},"Website owners who want device analytics",[56,60],{"id":57,"by":58,"text":59},"18371050","terandle","Nice, could be useful when I’m trying to answer someones questions about their phone remotely and they don’t know which one they have.",{"id":61,"by":62,"text":63},"18373259","AndrewKemendo","Man, I needed this last summer when I was doing a huge project. Glad someone can benefit from it!",[],"unknown",{"praise":67,"objections":81,"requests":104,"questions":112,"alternatives":124},[68,74],{"value":69,"source":70,"evidence":71},"Useful for identifying a remote user's phone model","commenter",[72,73],{"id":57,"by":58,"text":59},{"id":61,"by":62,"text":63},{"value":75,"source":70,"evidence":76},"Neat idea",[77],{"id":78,"by":79,"text":80},"18371127","snacktaster","pretty neat. what would be the best way for me to block this",[82,93],{"value":83,"source":70,"evidence":84},"Detection is inaccurate; an iPhone X was reported as iPhone 8 Plus",[85,89],{"id":86,"by":87,"text":88},"18371700","Tepix","It recognized an iPhone X as iPhone 8 plus.",{"id":90,"by":91,"text":92},"18373264","dogma1138","It seems that beyond the generation it tries to guess the rest based on the screen res changing the font size and DPI via accessibility settings switches between XS and XS max…",{"value":94,"source":70,"evidence":95},"Adds to privacy-invasive tracking and fingerprinting",[96,100],{"id":97,"by":98,"text":99},"18371129","jbob2000","But realistically speaking, ad networks are going to add this to their code to gather even more information about you.",{"id":101,"by":102,"text":103},"18371555","monochromatic","I’ve long assumed that websites could tell what kind of device I’m using. Is that not true?",[105],{"value":106,"source":70,"evidence":107},"Ask Apple to fix the leak via bug report",[108],{"id":109,"by":110,"text":111},"18372338","threeseed","Would also recommend you file a bug at https:\u002F\u002Fbugreport.apple.com. This is linked directly to their internal bug tracker (Radar) so I can assure you it will be read and triaged…",[113,120],{"value":114,"source":70,"evidence":115},"Why include the lookup table in client code",[116],{"id":117,"by":118,"text":119},"18372378","jrockway","Why include the lookup table in the client code? If you're just mapping (CPU, resolution) to a model, why not just send that tuple to your analytics framework and look it up when…",{"value":121,"source":70,"evidence":122},"How to block this",[123],{"id":78,"by":79,"text":80},[125,129],{"value":126,"source":70,"evidence":127},"User-agent header and media queries",[128],{"id":50,"by":51,"text":52},{"value":130,"source":70,"evidence":131},"whatismybrowser.com",[132],{"id":133,"by":134,"text":135},"18373081","trent_steel","Definitely! I also use https:\u002F\u002Fwww.whatismybrowser.com for that kind of thing too.",{"comments":33,"answered":32,"key":137},[138],{"id":139,"text":140},"18371196","They’re trying to autoplay a video, which Safari blocks if the device is in low power mode. https:\u002F\u002Fpastebin.com\u002FxxN2VPi4 Nice find!",{"commenters":142,"max_depth":31,"maker_replies":33,"first_comment_mins":143,"lifespan_hours":144},31,49,27,[146,150,151,153,156,158,160,164,166,169,171,173,176,180,184,186,189,192,197,198,201,204,205,208,211,212,215,217,218,221,225,228,231,234,237,240,241],[147,32,32,148,149,32],"18371115","commenter\u002Fneutral\u002Fnone","valgaze",[139,32,32,148,10,33],[117,33,30,152,118,32],"project\u002Fneutral\u002Fdesign",[154,33,32,148,155,32],"18372394","mygo",[157,33,32,148,118,32],"18372764",[159,33,32,148,155,32],"18372949",[161,33,32,162,163,32],"18373195","commenter\u002Fneutral\u002Fdesign","krispbyte",[165,33,32,148,155,32],"18376545",[86,167,33,168,87,32],2,"project\u002Fcritical\u002Fexecution",[170,167,32,148,155,32],"18371958",[90,167,30,172,91,32],"project\u002Fneutral\u002Fexecution",[174,167,30,172,175,32],"18373377","saagarjha",[177,30,30,178,179,32],"18371836","project\u002Fneutral\u002Fprivacy","Sephr",[181,30,32,182,183,32],"18372114","other\u002Fneutral\u002Fprivacy","Cyph0n",[185,30,32,182,179,32],"18373005",[187,30,32,148,188,32],"18375129","tinus_hn",[190,30,32,191,91,32],"18376543","other\u002Fneutral\u002Fperformance",[193,194,32,195,196,32],"18377253",4,"other\u002Fneutral\u002Fnone","bestham",[101,31,32,182,102,32],[199,31,32,182,200,32],"18371581","bdibs",[202,31,32,182,203,32],"18371779","MonkeyDan",[50,31,32,182,51,32],[78,206,31,207,79,32],6,"project\u002Fpositive\u002Fidea",[209,206,30,178,210,32],"18371205","Abfrage",[109,206,32,182,110,32],[213,206,32,195,214,32],"18374653","jakobegger",[57,216,31,207,58,32],7,[97,216,32,182,98,32],[219,216,32,182,220,32],"18371239","cocoa19",[222,216,32,223,224,32],"18371377","commenter\u002Fneutral\u002Fprivacy","LeoPanthera",[226,216,32,223,227,32],"18371402","UncleEntity",[229,216,32,223,230,32],"18371527","MauranKilom",[232,216,32,223,233,32],"18371556","ChrisSD",[235,216,32,223,236,32],"18371913","eugeniub",[238,216,32,195,239,32],"18373478","eli",[133,216,32,195,134,32],[61,242,31,207,62,32],8,[],[245,250,255,260,264,268],{"id":246,"name":247,"points":248,"category":249},"18393364","TabNine",607,"dev_tools",{"id":251,"name":252,"points":253,"category":254},"18398849","Cruip",222,"web_saas",{"id":256,"name":257,"points":258,"category":259},"18359957","Not Depressing",209,"productivity",{"id":261,"name":262,"points":263,"category":254},"18378328","Good Cheap and Fast",183,{"id":265,"name":266,"points":267,"category":249},"18376688","MonoCorpus",180,{"id":269,"name":270,"points":271,"category":272},"18380178","Millow",159,"consumer_social",false,"v2",{"id":276,"name":5,"line":6,"ai":273,"cat":19,"year":12,"points":13,"comments":14,"rec":27,"s":28,"top":17,"kw":277,"maker":10,"domain":5,"tier":18,"attempts":32,"strip":278,"url":9,"mix":279,"praise":69,"objection":83,"sub":20},18370733,[23,24,20,25,26],"0030000010333000000000530050000000005",[30,31,32,33],1794036571246]