#user-agent #browser #latest #generate #firefox

latest_user_agent

Rust library for generating latest browser user agent

2 releases

0.1.1 Aug 10, 2022
0.1.0 Aug 10, 2022

#460 in HTTP client

44 downloads per month

Unlicense

11KB
75 lines

latest_user_agent

Crates.io Version Docs.rs Version License Unlicense

Rust library for generating latest browser user agent.

Currently supports Firefox on Linux x86 64-bit and Windows x86 64-bit. It gets the latest number from header of the https://www.mozilla.org/en-US/firefox/new/ page.

The returned user agent looks like Mozilla/5.0 (X11; Linux x86_64; rv:103.0) Gecko/20100101 Firefox/103.0.

Dependencies

~6–20MB
~278K SLoC