An agent skill for building premium, immersive, scroll-driven websites. Works with Codex, Claude Code, and other coding agents. Also available as a Claude Code plugin.
JavaScript accessibilityagent-skillsai-web-designanthropicclaude-codeclaude-code-plugincreative-codingdesign-systemfrontendinteraction-designlanding-pagescroll-animationscrollytellingtypographyweb-design
Security and Windows fixes, engine teardown (0.3.1)
Nate Herk75d81f74e836
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.jsonindex f177e42..0567d57 100644--- a/.claude-plugin/marketplace.json+++ b/.claude-plugin/marketplace.json@@ -10,7 +10,7 @@"name": "nateherk-design","source": "./plugins/nateherk-design","description": "scroll-craft: build a premium, scroll-driven interactive landing page. Scroll becomes the timeline, and the page verifies its own contrast, motion and accessibility by screenshotting itself.",- "version": "0.3.0",+ "version": "0.3.1","author": {"name": "Nate Herk"},diff --git a/plugins/nateherk-design/.claude-plugin/plugin.json b/plugins/nateherk-design/.claude-plugin/plugin.jsonindex 1b5486a..b277f65 100644--- a/plugins/nateherk-design/.claude-plugin/plugin.json+++ b/plugins/nateherk-design/.claude-plugin/plugin.json@@ -1,7 +1,7 @@{"name": "nateherk-design","description": "Design and build skills from Nate Herk. Ships scroll-craft: premium scroll-driven interactive landing pages, built on a full design floor (typography, spacing, colour, depth, motion, accessibility) rather than on an animation library.",- "version": "0.3.0",+ "version": "0.3.1","author": {"name": "Nate Herk"},diff --git a/plugins/nateherk-design/skills/scroll-craft/CHANGELOG.md b/plugins/nateherk-design/skills/scroll-craft/CHANGELOG.mdindex a271e8d..e811e8c 100644--- a/plugins/nateherk-design/skills/scroll-craft/CHANGELOG.md+++ b/plugins/nateherk-design/skills/scroll-craft/CHANGELOG.md@@ -4,6 +4,31 @@ Dated notes on what changed in the skill and which build's finding drove it.Builds live in `OtherWorlds/Ultimate Websites/builds/`; each carries a`BUILD-REPORT.md`.+## 2026-09-30: security and Windows fixes, release 0.3.1++No change to how pages are planned, built, or animated.++- `serve.mjs` (issue #9, reported by ukama-dev): binds to 127.0.0.1 by+ default instead of every interface, so nothing else on the network can read+ the build folder. New `--lan` flag for real-phone testing prints the LAN URL+ and warns that the folder is readable on that network. The root check now+ requires a path separator, so `builds/acme` no longer serves `builds/acme-v2`,+ and a malformed URL gets a 400 instead of crashing the server.+- `doctor.mjs`, `shoot.mjs`, `worldflight-assert.mjs` (issue #8, reported by+ Calgeroth): the browser lookup now checks Edge's real install path+ (`Program Files (x86)`) and per-user Chrome installs under `%LOCALAPPDATA%`.+- Engine (issue #6, patch by mkreyman): `ScrollCraft.mount()` now returns an+ api with an idempotent `destroy()` that removes that mount's window+ listeners, stops both rAF loops, disconnects its IntersectionObservers,+ revokes its clip blob URLs, and removes it from `ScrollCraft.instances`.+ Needed only under client-side routers that re-mount. A page that never calls+ `destroy()` behaves exactly as before: an A/B run of the old and new engine+ on four builds (including worldflight) matched on every sampled element+ state at eight scroll positions, with no console errors.+- Skill text: personal attributions reworded as neutral standards. The rules+ themselves are unchanged. SKILL.md Step 5 mentions `--lan` next to the+ real-phone paragraph.+## 2026-09-04: approved ten-site rebuild, public release 0.3.0Nate approved the rebuilt ten-site collection and requested that its processdiff --git a/plugins/nateherk-design/skills/scroll-craft/SKILL.md b/plugins/nateherk-design/skills/scroll-craft/SKILL.mdindex 38bab42..ac879a7 100644--- a/plugins/nateherk-design/skills/scroll-craft/SKILL.md+++ b/plugins/nateherk-design/skills/scroll-craft/SKILL.md@@ -53,7 +53,7 @@ Four rules follow from that, and they are the spine of this skill:deliberately or every build inherits the same skeleton. The first four buildsdid exactly that. Read [references/uniqueness.md](references/uniqueness.md).-## Nate's standing hero preference+## Standing hero preference**Dimensional layering is a baseline requirement for a premium marketing hero.**Plan independently moving background, subject, foreground, and atmospheric@@ -73,8 +73,8 @@ directions, and keep depth in the static composition when motion is reduced.## Approved collection standardRead [references/approved-collection.md](references/approved-collection.md)-before planning a premium marketing site. It distills the ten-site rebuild Nate-approved: real brand research, layer contracts, meaningful pointer/scroll depth,+before planning a premium marketing site. It distills the approved ten-site+rebuild: real brand research, layer contracts, meaningful pointer/scroll depth,appropriate photographic or 3D rendering, distinct navigation and endings,useful interactions, mobile art direction, and evidence from the final package.These are execution principles and worked examples, not a reusable page skeleton.@@ -405,7 +405,10 @@ targets are all authored (see assets.md and verify.md). When any mobile defectis reported, deploy `references/device-diag.html` beside the site on the**first** round and let the device answer, rather than theorising from amachine that cannot reproduce the failure. The full iOS clip-lifecycle notes-live in verify.md, "The phone is a different machine".+live in verify.md, "The phone is a different machine". To open the page on a+phone over Wi-Fi, start the server with `--lan` (by default it binds to this+machine only), and stop it when you are done: `--lan` makes everything under+`--root` readable by anyone on that network.Fix what you found and shoot it again. Report what you actually verified andwhat you did not.diff --git a/plugins/nateherk-design/skills/scroll-craft/engine/scrollcraft.js b/plugins/nateherk-design/skills/scroll-craft/engine/scrollcraft.jsindex 8b41ccf..439bc30 100644--- a/plugins/nateherk-design/skills/scroll-craft/engine/scrollcraft.js+++ b/plugins/nateherk-design/skills/scroll-craft/engine/scrollcraft.js@@ -283,6 +283,22 @@root = typeof root === 'string' ? document.querySelector(root) : (root || document);opts = opts || {};+ // Teardown for client-side routers (issue #6). mount() registers window+ // listeners, starts two self-rescheduling rAF loops, and pushes onto+ // ScrollCraft.instances, so without destroy() every re-mount leaves the old+ // instance running for the life of the tab. `on` records what it registered+ // and the two loops keep their live handle, so destroy() can undo exactly+ // what this mount did and nothing else: its window listeners, both rAF+ // loops, both IntersectionObservers, and every clip blob it created. A page+ // that never calls destroy() behaves exactly as before.+ var scListeners = [];+ var scDead = false;+ var scTickFrame = 0, scPointerFrame = 0;+ function on(type, fn, o) {+ addEventListener(type, fn, o);+ scListeners.push([type, fn, o]);+ }+var acts = [];var worlds = [];var drifts = [];@@ -486,7 +502,12 @@});// ---- flow reveals (fire once) ----------------------------------------- var io = null;+ // `cio` is assigned inside the counters IIFE below; it is declared here so+ // destroy() can disconnect it. An IntersectionObserver holds a strong ref to+ // every observed target, and unobserve only runs on first intersection, so a+ // never-revealed element in a removed subtree is retained for the life of the+ // tab, once per re-mount.+ var io = null, cio = null;if ('IntersectionObserver' in window) {io = new IntersectionObserver(function (entries) {entries.forEach(function (e) {@@ -528,6 +549,7 @@if (reduce || ms <= 0) { c.textContent = formatNum(b, tpl); return; }var t0 = null, last = null;function frame(now) {+ if (scDead) return;if (t0 === null) t0 = now;var t = Math.min((now - t0) / ms, 1);var out = formatNum(a + (b - a) * ease(t), tpl);@@ -538,7 +560,7 @@}els.forEach(function (c) { var n = spec(c); c.textContent = formatNum(num(n[0]), n[1] || '0'); });if ('IntersectionObserver' in window) {- var cio = new IntersectionObserver(function (entries) {+ cio = new IntersectionObserver(function (entries) {entries.forEach(function (e) {if (!e.isIntersecting) return;run(e.target); cio.unobserve(e.target);@@ -552,6 +574,9 @@// ---- layout -----------------------------------------------------------function layout() {+ // layout() and read() are both on the returned api, so a framework's+ // updated() arriving after destroyed() enters them directly.+ if (scDead) return;vh = innerHeight; vw = innerWidth;acts.forEach(function (a) {if (a.pinned) a.el.style.height = (a.span * 100) + 'vh';@@ -634,6 +659,11 @@V.loading = true;fetch(src).then(function (r) { if (!r.ok) throw new Error(r.status); return r.blob(); }).then(function (blob) {+ // A fetch in flight when destroy() ran resolves anyway. Without this+ // it attaches loadedmetadata/seeked to a detached element, calls+ // read(), arms primeClip's 2s timer and assigns a blob URL nothing+ // will ever revoke, all after teardown reported success.+ if (scDead) return; // the Blob is unreferenced from here and is collected// Listeners and preload BEFORE src. Assigning src starts the load, so// attaching afterwards and then calling load() restarts it and aborts// the first request (visible as ERR_ABORTED on the blob URL).@@ -674,7 +704,8 @@V.el.preload = 'auto';V.el.muted = true; // as a property, not only an attributeV.el.playsInline = true;- V.el.src = URL.createObjectURL(blob);+ V.objectURL = URL.createObjectURL(blob);+ V.el.src = V.objectURL;}).catch(function () { V.loading = false; });}@@ -815,6 +846,7 @@// ---- per-frame scroll read -------------------------------------------function read() {+ if (scDead) return;y = scrollY || pageYOffset;var driftA = null, driftB = null, driftT = 0;var maxY = Math.max((document.documentElement.scrollHeight || 0) - vh, 1);@@ -991,6 +1023,7 @@// the decoder, while read() must stay cheap enough to run on every scroll// event. The lerp here is also what turns a jittery wheel into a glide.function tick() {+ if (scDead) return;// Deadband. A phone decoder cannot service a seek every frame, so asking// for one costs more than it shows; 20ms of clip is under a frame of// footage anyway.@@ -1020,7 +1053,7 @@var t = clamp(V.cur, 0, 0.999) * dur;if (Math.abs(V.el.currentTime - t) > eps) { try { V.el.currentTime = t; } catch (e) {} }}- requestAnimationFrame(tick);+ scTickFrame = requestAnimationFrame(tick);}// iOS will not paint a muted video that has never been handed a user@@ -1084,11 +1117,11 @@// triggering events includes touchend but NOT touchstart. A restricted// device (Low Power Mode) that rejects the touchstart prime for lacking// activation gets a second, valid chance the moment the finger lifts.- addEventListener('touchstart', prime, { passive: true });- addEventListener('touchend', prime, { passive: true });- addEventListener('pointerdown', prime, { passive: true });- addEventListener('click', prime, { passive: true });- addEventListener('scroll', prime, { passive: true });+ on('touchstart', prime, { passive: true });+ on('touchend', prime, { passive: true });+ on('pointerdown', prime, { passive: true });+ on('click', prime, { passive: true });+ on('scroll', prime, { passive: true });// ---- pointer devices --------------------------------------------------var tilts = [], magnets = [], spots = [];@@ -1105,7 +1138,7 @@});if (!tilts.length && !magnets.length && !spots.length) return;- addEventListener('pointermove', function (e) {+ on('pointermove', function (e) {if (e.pointerType !== 'mouse') return;for (var i = 0; i < tilts.length; i++) {var T = tilts[i], r = T.el.getBoundingClientRect();@@ -1132,6 +1165,7 @@}, { passive: true });(function pointerTick() {+ if (scDead) return;// Interpolate toward the target rather than tracking the pointer// directly. Direct tracking reads as artificial because it carries no// momentum; the lerp gives it weight.@@ -1147,14 +1181,15 @@M.x += (M.tx - M.x) * 0.12; M.y += (M.ty - M.y) * 0.12;M.el.style.transform = 'translate3d(' + M.x.toFixed(2) + 'px,' + M.y.toFixed(2) + 'px,0)';}- requestAnimationFrame(pointerTick);+ scPointerFrame = requestAnimationFrame(pointerTick);})();}// ---- wiring -----------------------------------------------------------var ticking = false;- addEventListener('scroll', function () {- if (!ticking) { ticking = true; requestAnimationFrame(function () { read(); ticking = false; }); }+ on('scroll', function () {+ if (scDead) return;+ if (!ticking) { ticking = true; requestAnimationFrame(function () { if (!scDead) read(); ticking = false; }); }}, { passive: true });// Keyboard focus on a pinned or panning act. The browser's own@@ -1165,7 +1200,7 @@// definition. behavior:'instant' on purpose: scrollcraft.css sets// scroll-behavior:smooth, so the default animates the jump and focus sits// off screen for the whole of a multi-screen glide.- addEventListener('focusin', function (e) {+ on('focusin', function (e) {var el = e.target;if (!el || !el.closest) return;var act = el.closest('[data-sc-act]');@@ -1177,9 +1212,10 @@});var lastW = innerWidth;- addEventListener('resize', function () {+ on('resize', function () {// Ignore URL-bar-only height changes on phones. Relaying out on those// makes the page jump under the reader's thumb for no reason.+ if (scDead) return;if (innerWidth === lastW && isMobile()) { vh = innerHeight; return; }lastW = innerWidth;layout();@@ -1188,6 +1224,7 @@if (document.fonts && document.fonts.ready) {// Line splitting measures line boxes, so it has to wait for the real face.document.fonts.ready.then(function () {+ if (scDead) return;acts.forEach(function (a) { a.cues.forEach(function (q) { if (q.kinetic && q.units) { q.el.__scSplit = null; q.units = null; } }); });layout();});@@ -1195,10 +1232,45 @@layout();initPointer();- requestAnimationFrame(tick);+ scTickFrame = requestAnimationFrame(tick);document.documentElement.classList.add('sc-ready');var api = { layout: layout, read: read, acts: acts, worlds: worlds, clips: playheads, lerp: LERP };+ // Idempotent: a second call is a no-op, because a framework's teardown hook+ // can run after the element is already gone.+ api.destroy = function () {+ if (scDead) return;+ scDead = true;+ for (var i = 0; i < scListeners.length; i++) {+ removeEventListener(scListeners[i][0], scListeners[i][1], scListeners[i][2]);+ }+ scListeners.length = 0;+ if (scTickFrame) { cancelAnimationFrame(scTickFrame); scTickFrame = 0; }+ if (scPointerFrame) { cancelAnimationFrame(scPointerFrame); scPointerFrame = 0; }+ // Both observers, or every element they still watch stays reachable.+ if (io) { io.disconnect(); io = null; }+ if (cio) { cio.disconnect(); cio = null; }+ // A blob URL is a document-lifetime reference to a whole decoded clip, so+ // an unreleased one is the largest thing a re-mount can leak. Detaching+ // the source needs the removeAttribute + load() pair: revoking alone+ // leaves the element holding the resource.+ for (var v = 0; v < playheads.length; v++) {+ var V = playheads[v];+ try { V.el.pause(); } catch (e) {}+ if (V.objectURL) {+ try { V.el.removeAttribute('src'); V.el.load(); } catch (e) {}+ URL.revokeObjectURL(V.objectURL);+ V.objectURL = null;+ }+ }+ var at = global.ScrollCraft.instances.indexOf(api);+ if (at !== -1) global.ScrollCraft.instances.splice(at, 1);+ // Document-global, while the instance is not: only the last one out drops+ // it, or a second stage on the page loses its no-transition guard.+ if (!global.ScrollCraft.instances.length) {+ document.documentElement.classList.remove('sc-ready');+ }+ };global.ScrollCraft.instances.push(api);return api;}diff --git a/plugins/nateherk-design/skills/scroll-craft/references/approved-collection.md b/plugins/nateherk-design/skills/scroll-craft/references/approved-collection.mdindex ed1e6e3..1b9232e 100644--- a/plugins/nateherk-design/skills/scroll-craft/references/approved-collection.md+++ b/plugins/nateherk-design/skills/scroll-craft/references/approved-collection.md@@ -1,8 +1,8 @@# The approved ten-site standardRead this before planning a premium marketing site, alongside-[hero-depth.md](hero-depth.md). On September 4, 2026, Nate approved the rebuilt-ten-site collection and asked for its process to become part of Scrollcraft.+[hero-depth.md](hero-depth.md). On September 4, 2026, the rebuilt+ten-site collection was approved and its process became part of Scrollcraft.The first collection had been rejected as generic, flat, and poorly branded.The approval belongs to the rebuilt collection, not the original output.diff --git a/plugins/nateherk-design/skills/scroll-craft/references/hero-depth.md b/plugins/nateherk-design/skills/scroll-craft/references/hero-depth.mdindex bf770b1..2545730 100644--- a/plugins/nateherk-design/skills/scroll-craft/references/hero-depth.md+++ b/plugins/nateherk-design/skills/scroll-craft/references/hero-depth.md@@ -2,7 +2,7 @@## Standing preference-For Nate's hero-led marketing websites, **layering is part of the baseline, not an optional polish pass**. A beautiful full-screen photograph with one parallax transform and some text fades can still feel flat. Design a memorable spatial relationship in the hero from the beginning, rather than waiting for Nate to ask for more depth.+For hero-led marketing websites, **layering is part of the baseline, not an optional polish pass**. A beautiful full-screen photograph with one parallax transform and some text fades can still feel flat. Design a memorable spatial relationship in the hero from the beginning, rather than waiting to be asked for more depth.This preference applies to the hero, not to every section of every website. Preserve the requested brand, content, framework, and functionality. Honor explicit static or simpler directions. Working surfaces such as dashboards do not need an invented marketing hero.@@ -55,9 +55,9 @@ A successful build or transform unit test alone does not prove the visual effect## Approved example: Sonder Studio-On September 4, 2026, Nate called the original single-image hero premium but lacking layers and wow factor. He preferred the revision with separate mountains, rear clouds, woman and red dress, volcanic ground, and foreground mist; different depth rates; a shared foot anchor; typography behind the subject; a second scroll beat; and a gallery-frame transition. His response: "Yes, that is so much better."+On September 4, 2026, the original single-image hero was judged premium but lacking layers and wow factor. The approved revision has separate mountains, rear clouds, woman and red dress, volcanic ground, and foreground mist; different depth rates; a shared foot anchor; typography behind the subject; a second scroll beat; and a gallery-frame transition.-Local implementation, when available: `OtherWorlds/sonder-studio/` in Nate’s optional example workspace. See `components/SceneHero.tsx`, `lib/scene-motion.ts`, and `VERIFICATION.md` for the worked example. The principles above are self-contained; this path is optional reference material.+Local implementation, when available: `OtherWorlds/sonder-studio/` in the author’s optional example workspace. See `components/SceneHero.tsx`, `lib/scene-motion.ts`, and `VERIFICATION.md` for the worked example. The principles above are self-contained; this path is optional reference material.## Further approved examplesdiff --git a/plugins/nateherk-design/skills/scroll-craft/scripts/doctor.mjs b/plugins/nateherk-design/skills/scroll-craft/scripts/doctor.mjsindex 41701d2..613100c 100644--- a/plugins/nateherk-design/skills/scroll-craft/scripts/doctor.mjs+++ b/plugins/nateherk-design/skills/scroll-craft/scripts/doctor.mjs@@ -106,7 +106,9 @@ const chrome = [// Windows"C:/Program Files/Google/Chrome/Application/chrome.exe","C:/Program Files (x86)/Google/Chrome/Application/chrome.exe",+ "C:/Program Files (x86)/Microsoft/Edge/Application/msedge.exe","C:/Program Files/Microsoft/Edge/Application/msedge.exe",+ process.env.LOCALAPPDATA && `${process.env.LOCALAPPDATA}/Google/Chrome/Application/chrome.exe`,// macOS"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome","/Applications/Chromium.app/Contents/MacOS/Chromium",diff --git a/plugins/nateherk-design/skills/scroll-craft/scripts/serve.mjs b/plugins/nateherk-design/skills/scroll-craft/scripts/serve.mjsindex 60c1cef..b51701f 100644--- a/plugins/nateherk-design/skills/scroll-craft/scripts/serve.mjs+++ b/plugins/nateherk-design/skills/scroll-craft/scripts/serve.mjs@@ -8,9 +8,16 @@* Serve it.** node serve.mjs --root builds/perkform --port 4500+ * node serve.mjs --root builds/perkform --port 4500 --lan # real-phone test+ *+ * Binds to 127.0.0.1 by default, so nothing else on the network can read the+ * folder. --lan binds every interface for testing on a phone over Wi-Fi, and+ * makes everything under the root readable by anyone on that network while it+ * runs.*/import http from "node:http";import fs from "node:fs";+import os from "node:os";import path from "node:path";const argv = process.argv.slice(2);@@ -18,6 +25,10 @@ const arg = (n, d) => { const i = argv.indexOf(n); return i > -1 && argv[i + 1]const ROOT = path.resolve(arg("--root", "."));const PORT = parseInt(arg("--port", "4500"), 10);+const LAN = argv.includes("--lan");+const HOST = LAN ? "0.0.0.0" : "127.0.0.1";+// With the separator, a root of builds/acme can't also serve builds/acme-v2.+const BASE = ROOT.endsWith(path.sep) ? ROOT : ROOT + path.sep;const TYPES = {".html": "text/html; charset=utf-8", ".css": "text/css; charset=utf-8",@@ -28,11 +39,15 @@ const TYPES = {};http.createServer((req, res) => {- const url = decodeURIComponent(req.url.split("?")[0]);+ // A malformed escape (e.g. /%E0%A4%A) makes decodeURIComponent throw, which+ // would otherwise take the whole server down.+ let url;+ try { url = decodeURIComponent(req.url.split("?")[0]); }+ catch { res.writeHead(400).end("bad request"); return; }let file = path.join(ROOT, url === "/" ? "/index.html" : url);// Refuse to serve outside the root even if the path walks up.- if (!file.startsWith(ROOT)) { res.writeHead(403).end("forbidden"); return; }+ if (file !== ROOT && !file.startsWith(BASE)) { res.writeHead(403).end("forbidden"); return; }if (fs.existsSync(file) && fs.statSync(file).isDirectory()) file = path.join(file, "index.html");if (!fs.existsSync(file)) { res.writeHead(404).end("not found"); return; }@@ -47,6 +62,13 @@ http.createServer((req, res) => {"Accept-Ranges": "bytes",});fs.createReadStream(file).pipe(res);-}).listen(PORT, () => {+}).listen(PORT, HOST, () => {console.log(`scrollcraft: ${ROOT}\n http://localhost:${PORT}`);+ if (!LAN) return;+ for (const addrs of Object.values(os.networkInterfaces())) {+ for (const a of addrs || []) {+ if (a.family === "IPv4" && !a.internal) console.log(` http://${a.address}:${PORT} (LAN)`);+ }+ }+ console.log(" --lan: everything under the root is readable by anyone on this network until you stop the server.");});diff --git a/plugins/nateherk-design/skills/scroll-craft/scripts/shoot.mjs b/plugins/nateherk-design/skills/scroll-craft/scripts/shoot.mjsindex b291d75..7962f76 100644--- a/plugins/nateherk-design/skills/scroll-craft/scripts/shoot.mjs+++ b/plugins/nateherk-design/skills/scroll-craft/scripts/shoot.mjs@@ -47,7 +47,9 @@ const CHROME = [// Windows"C:/Program Files/Google/Chrome/Application/chrome.exe","C:/Program Files (x86)/Google/Chrome/Application/chrome.exe",+ "C:/Program Files (x86)/Microsoft/Edge/Application/msedge.exe","C:/Program Files/Microsoft/Edge/Application/msedge.exe",+ process.env.LOCALAPPDATA && `${process.env.LOCALAPPDATA}/Google/Chrome/Application/chrome.exe`,// macOS"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome","/Applications/Chromium.app/Contents/MacOS/Chromium",diff --git a/plugins/nateherk-design/skills/scroll-craft/scripts/worldflight-assert.mjs b/plugins/nateherk-design/skills/scroll-craft/scripts/worldflight-assert.mjsindex b3addd6..28802ee 100644--- a/plugins/nateherk-design/skills/scroll-craft/scripts/worldflight-assert.mjs+++ b/plugins/nateherk-design/skills/scroll-craft/scripts/worldflight-assert.mjs@@ -19,7 +19,9 @@ const CHROME = [// Windows"C:/Program Files/Google/Chrome/Application/chrome.exe","C:/Program Files (x86)/Google/Chrome/Application/chrome.exe",+ "C:/Program Files (x86)/Microsoft/Edge/Application/msedge.exe","C:/Program Files/Microsoft/Edge/Application/msedge.exe",+ process.env.LOCALAPPDATA && `${process.env.LOCALAPPDATA}/Google/Chrome/Application/chrome.exe`,// macOS"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome","/Applications/Chromium.app/Contents/MacOS/Chromium",