DEV Community

Discussion on: Had to use browser detection like its 1999

Collapse
 
giorgosk profile image
Giorgos Kontopoulos 👀

Nice writeup, we hear you.

Perhaps you could have saved a little bit of time by using a ready made plugin such as danml.com/download.html or perhaps this github.com/johnculviner/jquery.fil.... They might be doing the same browser detection under the hood but we work faster with a little help from the greater development community. ;-)

Collapse
 
kspeakman profile image
Kasey Speakman

Thanks for the comment. The linked packages appear to be for browser-side. Whereas the article is focused on browser detection on the server side so that downloads behave properly for the user.

Collapse
 
giorgosk profile image
Giorgos Kontopoulos 👀

Sorry
kind of skimmed through it and looked like you were talking about a client side struggle. Still surprised this kind of endeavour does not have a dedicated library to it.