javascript - Change site depending on user agent -


i change things on site depending on user agent. want change text , url of download button when user on ubuntu/linux, arch/linux, debian-based/linux, mac os x, or windows are presented info , download button reverent them. kinda libreoffice does.

i in javascript , not on server.

thanks in advance.

you can use conditional on these variables apply appropriate changes site's styles or dom.


Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -