user-agent-is-browser
Version:
JS function to determine if a string is the User-Agent for a browser (even if it doesn't start with `Mozilla/`!)
16 lines (13 loc) • 97 B
Plain Text
JS function to determine if a string is the User-Agent for a browser (even if it doesn't start with `Mozilla/`!)