Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How useful browser's User Agent is in code conversion? #50

Open
Clayblockunova opened this issue Aug 6, 2024 · 2 comments
Open

How useful browser's User Agent is in code conversion? #50

Clayblockunova opened this issue Aug 6, 2024 · 2 comments

Comments

@Clayblockunova
Copy link
Contributor

Clayblockunova commented Aug 6, 2024

There is a fact well known in web developers: User Agent string (navigator.userAgent) always begin with 'Mozilla' if unmodified. If that's not easy to modify, User Agent string can be a good source for 'M' (currently 'M' cost 9620 chars for all browsers, and navigator.userAgent[0] cost 6960 chars).

@fasttime
Copy link
Owner

fasttime commented Aug 6, 2024

Sounds good 👍 Feel free to open a pull request.

@fasttime
Copy link
Owner

fasttime commented Aug 9, 2024

Done in 43b51b9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants