Added mobile warning

pull/8/head
Mark 2023-09-22 10:41:01 -07:00
parent 96a34dc05d
commit c2d3e613d4
Signed by: Mark
GPG Key ID: AD62BB059C2AAEE4
1 changed files with 5 additions and 0 deletions

View File

@ -100,6 +100,11 @@
<a href="https://aur.archlinux.org/packages/daisy" target="_blank" rel="noopener noreferrer">AUR</a> <a href="https://aur.archlinux.org/packages/daisy" target="_blank" rel="noopener noreferrer">AUR</a>
</div> </div>
<script>
var mobile = (/iphone|ipad|ipod|android|blackberry|mini|windows\sce|palm/i.test(navigator.userAgent.toLowerCase()));
if (mobile) { alert("This site may not work on mobile."); }
</script>
<script type="module"> <script type="module">
// See wasm-pack docs // See wasm-pack docs
// Build with `wasm-pack build --release --target web --out-dir pkg` // Build with `wasm-pack build --release --target web --out-dir pkg`