Revision control

Copy as Markdown

<html>
<head>
<meta name="viewport" content="width=device-width">
<script>
window.onload = () => {
let found = /iPhone|iPad/.exec(navigator.userAgent) != null
if (found) {
document.body.innerHTML = "MOBILE_UA"
} else {
document.body.innerHTML = "DESKTOP_UA"
}
}
</script>
</head>
<body aria-label="body">
TEST PAGE
</body>
</html>