Device Dependent Layout
This page parses user agents with UAParser.js.
You can use it to detect user’s OS, CPU architecture, device type, etc.
Parsed info
Your user agent contains the following information.
Download Buttons
I made makeDownloadButton()
to make dowload buttons based on the user’s device.
It selects a version from Windows-x64
, Windows-arm64
, macOS
, Linux-x64
, and Linux-arm64
.
<span id="download_button"></span>
[Looking for other versions?](https://github.com/{{ site.repository }}/releases)
<script src="https://cdnjs.cloudflare.com/ajax/libs/UAParser.js/1.0.37/ua-parser.min.js"></script>
<script src="/doc_test/assets/js/ua-parser-helper.js"></script>
<script>
const parser = new UAParser();
const result = parser.getResult();
makeDownloadButton(result, "download_button");
</script>
Note that the download buttons require icons in docs/_includes/icons
.
See the Icons page for the details.