How to detect that browser is running in Safari on iOS 11 via JavaScript? -


i want detect js code in webpage running in safari on ios 11, supports new features.

i can

if (window.navigator.useragent.includes('os 11_0')) {     // ios 11 } 

but believe considered unreliable.

is there feature or hack works on ios 11 , not on other os , can used detect version without inspecting useragent?


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

android - How to prevent keyboard from closing when bottom dialog is open? -