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/`!)
2 lines (1 loc) • 60 B
JavaScript
JS function to determine if a string is the User-Agent for a browser (even if it doesn't start with `Mozilla/`!)