snippet

Detect Apple user from browser, work with Mac, iPod, iPhone or iPad

const isAppleUser = /Mac|iPod|iPhone|iPad/.test(navigator.platform);
Related snippets