Skip to content

Site: point Mac visitors at Sidecar instead of a dead end - #29

Merged
whoisaldo merged 1 commit into
mainfrom
site-macos-notice
Aug 27, 2026
Merged

Site: point Mac visitors at Sidecar instead of a dead end#29
whoisaldo merged 1 commit into
mainfrom
site-macos-notice

Conversation

@whoisaldo

Copy link
Copy Markdown
Owner

What

Mac visitors to eternalmonitor.dev now get a dismissible notice at the bottom of the page: EternalMonitor is Windows-only for now, and macOS already does this natively for free via Sidecar.

Previously nothing above the fold said "Windows-only" — you had to read the hero subtitle or reach the download page to find out.

How

  • docs/script.js — injects the notice on both pages (the script is shared).
  • docs/style.css.mac-notice styling, using the existing design tokens.

Two details worth calling out:

  • Detection is platform contains "Mac" AND maxTouchPoints <= 1. iPadOS reports its platform as MacIntel; a naive platform check would show "Mac isn't supported" to the exact users the product is built for.
  • Dismissal uses sessionStorage, not localStorage — it stops nagging while browsing but reappears on a fresh visit.

Verification

Rendered locally in Chrome on macOS on both index.html and download.html; notice appears, the Sidecar link resolves, and dismissal sticks for the session.

Not verified: iPad rendering (behavior comes from the maxTouchPoints guard, not observed on-device).

EternalMonitor is Windows-only, but nothing on the site said so above the
fold, so Mac visitors had to read the subtitle or hit the download page to
find out. Show them a dismissible notice naming the free native option that
already solves their problem.

Detection requires platform "Mac" AND maxTouchPoints <= 1: iPadOS reports
"MacIntel" as its platform, and iPad users are the audience, not the ones to
turn away.

Dismissal is stored in sessionStorage, so it does not nag while browsing but
returns on a fresh visit.
@whoisaldo
whoisaldo merged commit eaa210b into main Aug 27, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant