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

Don't use user agent check for features. User agent detection doesnt keep pace with development.


I was providing a very basic example -> and yes, useragent can still be useful. But agreed, further feature detection, which the article calls "fingerprinting" is needed if you implement anything beyond the most basic patterns. But even basic patterns are helped by some minimal detection. Text only / braille readers etc can be targeted nicely as an example.


Feature detection is not fingerprinting, you can't just change the meaning of terms.




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

Search: