Reverse engineer anything with agents, from app behavior down to native binaries.
TypeScript agent-skillsai-agentsbinary-analysisclaude-codeclicodexcordisdecompilerdeveloper-toolsdshdsh-pluginghidrahopperllmmcpmodel-context-protocolreareverse-engineeringstatic-analysistouhou
feat(website): add a shared back-to-top link
Ysopwnable504737300632
diff --git a/website/README.md b/website/README.mdindex b7f8bc668..abbce8908 100644--- a/website/README.md+++ b/website/README.md@@ -64,6 +64,11 @@ respecting reduced-motion preferences. Both the prompt and animation workwithout JavaScript. The homepage and agent setup section share a copyableinstallation prompt; setup still presents its plan for approval.+Reading pages share a small `↑ Top` link at the bottom right. It appears after+scrolling and returns to the page header, with smooth scrolling when reduced+motion is disabled. Keyboard activation returns focus to the first navigation+link. Without JavaScript, the link stays visible and uses its `#top` anchor.+DX-Ball figures and findings refer to the linked 7 October 2026 checkpoint,commit `a55dca27ec0a07018c1b2c95ae2be027f7d8c3c4`. Update those links and figurestogether when moving to another checkpoint. Case-study source excerpts comediff --git a/website/evidence/guide-examples.md b/website/evidence/guide-examples.mdindex 70cdc859c..476c0fbd0 100644--- a/website/evidence/guide-examples.md+++ b/website/evidence/guide-examples.md@@ -71,6 +71,10 @@ Full local outputs and the browser verification harness are under## Example source digests+These digests identify the files used for the recorded analyses. The browser+page later gained the site's shared `↑ Top` navigation; its `export.js` and+`notes.json` retain the versions below.+| File | SHA-256 || -------------------------------------- | ------------------------------------------------------------------ || `examples/notes-electron/csv.js` | `6875aeecc1d3e6c1ff5b888a199c26b377d812d5b10e5fb4025e192a206b0018` |diff --git a/website/public/assets/main.js b/website/public/assets/main.jsindex 40a1d9808..1cdb38e0e 100644--- a/website/public/assets/main.js+++ b/website/public/assets/main.js@@ -60,3 +60,27 @@ function initializeStepComparisons() {}initializeStepComparisons();++function initializeBackToTop() {+ const link = document.querySelector(".back-to-top");+ if (link === null) return;++ const updateVisibility = () => {+ link.hidden = window.scrollY < 400;+ };+ window.addEventListener("scroll", updateVisibility, { passive: true });+ updateVisibility();++ link.addEventListener("click", (event) => {+ event.preventDefault();+ const reduceMotion = window.matchMedia(+ "(prefers-reduced-motion: reduce)",+ ).matches;+ window.scrollTo({ top: 0, behavior: reduceMotion ? "auto" : "smooth" });+ document+ .querySelector(".brand, .breadcrumb a")+ ?.focus({ preventScroll: true });+ });+}++initializeBackToTop();diff --git a/website/public/assets/styles.css b/website/public/assets/styles.cssindex d184cb31e..d1f36e0ee 100644--- a/website/public/assets/styles.css+++ b/website/public/assets/styles.css@@ -99,6 +99,31 @@ section[id] {.skip-link:focus {top: 0.75rem;}+.back-to-top {+ position: fixed;+ right: calc(1.5rem + env(safe-area-inset-right, 0px));+ bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));+ z-index: 5;+ display: inline-flex;+ align-items: center;+ gap: 0.4rem;+ min-height: 44px;+ padding: 0.5rem 0.85rem;+ border: 1px solid var(--line);+ border-radius: 6px;+ background: var(--page);+ color: var(--muted);+ font-size: 0.875rem;+ font-weight: 600;+ text-decoration: none;+}+.back-to-top[hidden] {+ display: none;+}+.back-to-top:hover {+ background: var(--soft);+ color: var(--ink);+}.site-header {border-bottom: 1px solid var(--line);}@@ -1023,6 +1048,10 @@ pre code {}@media (max-width: 640px) {+ .back-to-top {+ right: calc(1rem + env(safe-area-inset-right, 0px));+ bottom: calc(1rem + env(safe-area-inset-bottom, 0px));+ }.container {width: calc(100% - 2.5rem);}diff --git a/website/public/examples/notes-web/index.html b/website/public/examples/notes-web/index.htmlindex 00d2c80b8..7f420d16d 100644--- a/website/public/examples/notes-web/index.html+++ b/website/public/examples/notes-web/index.html@@ -7,8 +7,9 @@<link rel="icon" href="../../assets/favicon.svg" type="image/svg+xml" /><link rel="stylesheet" href="../../assets/styles.css" /><script src="export.js" defer></script>+ <script src="../../assets/main.js" defer></script></head>- <body>+ <body id="top"><main class="container example-app"><p class="breadcrumb"><a href="../../guides/browser/">Browser observation guide</a> / Example@@ -31,5 +32,8 @@browser.</p></main>+ <a class="back-to-top" href="#top" aria-label="Back to top">+ <span aria-hidden="true">↑</span> Top+ </a></body></html>diff --git a/website/public/get-started/index.html b/website/public/get-started/index.htmlindex 95b530eaf..be8b31d02 100644--- a/website/public/get-started/index.html+++ b/website/public/get-started/index.html@@ -13,7 +13,7 @@<link rel="stylesheet" href="../assets/styles.css" /><script src="../assets/main.js" defer></script></head>- <body>+ <body id="top"><a class="skip-link" href="#main">Skip to content</a><header class="site-header"><div class="container header-inner">@@ -399,5 +399,8 @@ npx rea-agents@latest setup</code></pre></div></footer><p class="sr-only" id="copy-status" role="status" aria-live="polite"></p>+ <a class="back-to-top" href="#top" aria-label="Back to top">+ <span aria-hidden="true">↑</span> Top+ </a></body></html>diff --git a/website/public/guides/browser/index.html b/website/public/guides/browser/index.htmlindex 5924d31ec..c39126465 100644--- a/website/public/guides/browser/index.html+++ b/website/public/guides/browser/index.html@@ -13,7 +13,7 @@<link rel="stylesheet" href="../../assets/styles.css" /><script src="../../assets/main.js" defer></script></head>- <body>+ <body id="top"><a class="skip-link" href="#main">Skip to content</a><header class="site-header"><div class="container header-inner">@@ -334,5 +334,8 @@ link.click();</code></pre></div></footer><p class="sr-only" id="copy-status" role="status" aria-live="polite"></p>+ <a class="back-to-top" href="#top" aria-label="Back to top">+ <span aria-hidden="true">↑</span> Top+ </a></body></html>diff --git a/website/public/guides/index.html b/website/public/guides/index.htmlindex 8fae41633..53f257a52 100644--- a/website/public/guides/index.html+++ b/website/public/guides/index.html@@ -13,7 +13,7 @@<link rel="stylesheet" href="../assets/styles.css" /><script src="../assets/main.js" defer></script></head>- <body>+ <body id="top"><a class="skip-link" href="#main">Skip to content</a><header class="site-header"><div class="container header-inner">@@ -117,5 +117,8 @@</div></footer><p class="sr-only" id="copy-status" role="status" aria-live="polite"></p>+ <a class="back-to-top" href="#top" aria-label="Back to top">+ <span aria-hidden="true">↑</span> Top+ </a></body></html>diff --git a/website/public/guides/javascript/index.html b/website/public/guides/javascript/index.htmlindex 4c56189ba..60ab7fde3 100644--- a/website/public/guides/javascript/index.html+++ b/website/public/guides/javascript/index.html@@ -13,7 +13,7 @@<link rel="stylesheet" href="../../assets/styles.css" /><script src="../../assets/main.js" defer></script></head>- <body>+ <body id="top"><a class="skip-link" href="#main">Skip to content</a><header class="site-header"><div class="container header-inner">@@ -330,5 +330,8 @@</div></footer><p class="sr-only" id="copy-status" role="status" aria-live="polite"></p>+ <a class="back-to-top" href="#top" aria-label="Back to top">+ <span aria-hidden="true">↑</span> Top+ </a></body></html>diff --git a/website/public/guides/native/index.html b/website/public/guides/native/index.htmlindex bbb1ece47..b19eb048a 100644--- a/website/public/guides/native/index.html+++ b/website/public/guides/native/index.html@@ -13,7 +13,7 @@<link rel="stylesheet" href="../../assets/styles.css" /><script src="../../assets/main.js" defer></script></head>- <body>+ <body id="top"><a class="skip-link" href="#main">Skip to content</a><header class="site-header"><div class="container header-inner">@@ -266,5 +266,8 @@ return (DxBallInt)pan;</code></pre></div></footer><p class="sr-only" id="copy-status" role="status" aria-live="polite"></p>+ <a class="back-to-top" href="#top" aria-label="Back to top">+ <span aria-hidden="true">↑</span> Top+ </a></body></html>diff --git a/website/public/index.html b/website/public/index.htmlindex d81f55447..d24a177bc 100644--- a/website/public/index.html+++ b/website/public/index.html@@ -13,7 +13,7 @@<link rel="stylesheet" href="assets/styles.css" /><script src="assets/main.js" defer></script></head>- <body>+ <body id="top"><a class="skip-link" href="#main">Skip to content</a><header class="site-header"><div class="container header-inner">@@ -289,5 +289,8 @@</div></footer><p class="sr-only" id="copy-status" role="status" aria-live="polite"></p>+ <a class="back-to-top" href="#top" aria-label="Back to top">+ <span aria-hidden="true">↑</span> Top+ </a></body></html>diff --git a/website/public/showcase/dx-ball/index.html b/website/public/showcase/dx-ball/index.htmlindex 027547c6d..cec1a9b02 100644--- a/website/public/showcase/dx-ball/index.html+++ b/website/public/showcase/dx-ball/index.html@@ -13,7 +13,7 @@<link rel="stylesheet" href="../../assets/styles.css" /><script src="../../assets/main.js" defer></script></head>- <body>+ <body id="top"><a class="skip-link" href="#main">Skip to content</a><header class="site-header"><div class="container header-inner">@@ -620,5 +620,8 @@</div></footer><p class="sr-only" id="copy-status" role="status" aria-live="polite"></p>+ <a class="back-to-top" href="#top" aria-label="Back to top">+ <span aria-hidden="true">↑</span> Top+ </a></body></html>diff --git a/website/public/showcase/index.html b/website/public/showcase/index.htmlindex 71f613ba7..dfe95f378 100644--- a/website/public/showcase/index.html+++ b/website/public/showcase/index.html@@ -13,7 +13,7 @@<link rel="stylesheet" href="../assets/styles.css" /><script src="../assets/main.js" defer></script></head>- <body>+ <body id="top"><a class="skip-link" href="#main">Skip to content</a><header class="site-header"><div class="container header-inner">@@ -116,5 +116,8 @@</div></footer><p class="sr-only" id="copy-status" role="status" aria-live="polite"></p>+ <a class="back-to-top" href="#top" aria-label="Back to top">+ <span aria-hidden="true">↑</span> Top+ </a></body></html>diff --git a/website/public/showcase/notion/index.html b/website/public/showcase/notion/index.htmlindex ae9c70e33..4d98db5c3 100644--- a/website/public/showcase/notion/index.html+++ b/website/public/showcase/notion/index.html@@ -13,7 +13,7 @@<link rel="stylesheet" href="../../assets/styles.css" /><script src="../../assets/main.js" defer></script></head>- <body>+ <body id="top"><a class="skip-link" href="#main">Skip to content</a><header class="site-header"><div class="container header-inner">@@ -458,5 +458,8 @@ mimeTypes:</div></footer><p class="sr-only" id="copy-status" role="status" aria-live="polite"></p>+ <a class="back-to-top" href="#top" aria-label="Back to top">+ <span aria-hidden="true">↑</span> Top+ </a></body></html>diff --git a/website/public/showcase/th04/index.html b/website/public/showcase/th04/index.htmlindex a5a27b564..52bfce233 100644--- a/website/public/showcase/th04/index.html+++ b/website/public/showcase/th04/index.html@@ -13,7 +13,7 @@<link rel="stylesheet" href="../../assets/styles.css" /><script src="../../assets/main.js" defer></script></head>- <body>+ <body id="top"><a class="skip-link" href="#main">Skip to content</a><header class="site-header"><div class="container header-inner">@@ -635,5 +635,8 @@ no_aim:</div></footer><p class="sr-only" id="copy-status" role="status" aria-live="polite"></p>+ <a class="back-to-top" href="#top" aria-label="Back to top">+ <span aria-hidden="true">↑</span> Top+ </a></body></html>diff --git a/website/style-guide.md b/website/style-guide.mdindex f7154a56b..26291018b 100644--- a/website/style-guide.md+++ b/website/style-guide.md@@ -154,6 +154,10 @@ cursor animation and reduced-motion behavior. Label an example prompt as anexample; a real recorded result belongs in an evidence block. Copy buttonsshould copy only the intended text, without the prompt symbol or cursor.+Include the shared `↑ Top` link on reading pages, with `id="top"` on the body.+Keep its 44px minimum touch height, safe-area spacing and keyboard focus return.+Use the shared script for visibility and reduced-motion behavior.+Use `minmax(0, 1fr)` for grid tracks that contain long commands or nested panels.Allow code blocks to scroll within their own area. Check expanded details aswell as the default page. Document-level horizontal scrolling usually means a