25/97

Detect mac os browser

Check if the current browser runs on Mac:

const isMacBrowser = /Mac|iPod|iPhone|iPad/.test(navigator.platform);

Might be useful