The UserAgent api of bit Butil can accept a custom user-agent string too:
- Currently, this api only uses the
navigator.userAgent string, and we can't pass any other custom string for it to parse. It's a good addition to have this new feature, especially for debugging and testing purposes.