Files
2026-06-04 15:38:01 +02:00

7 lines
290 B
JavaScript

export const localhost = window.location.hostname === "localhost";
const userAgent = navigator.userAgent.toLowerCase();
const iphone = userAgent.includes("iphone");
const ipad = userAgent.includes("ipad");
export const ios = iphone || ipad;
export const canShare = "canShare" in navigator;