Most measurements of a page's cost are about what it downloads. I have done plenty of those for Notifio's website, including a 38-page coverage run of the JavaScript it ships. This one is smaller and stranger: what is left behind on window once the page has finished loading.
The question came from an old habit. When I read a site's globals in the console I learn more about its dependencies in ten seconds than in ten minutes of reading its bundle, because every library that shares state across modules puts a name there. So: what does ours say?
The method
Everything a browser gives window is noise, so I needed a baseline from the same browser. I loaded https://notifio.app/robots.txt (a text document, no scripts), took Object.getOwnPropertyNames(window), and subtracted it from the same call on every page in the sitemap, after load plus a pause of a few seconds for hydration. Headless Chromium from the app's own Playwright install, 38 pages.
const base = new Set(await text.evaluate(() => Object.getOwnPropertyNames(window))); const mine = await page.evaluate(() => Object.getOwnPropertyNames(window)); const added = mine.filter(n => !base.has(n)); A first attempt used about:blank as the baseline, and it reported 261 added names on every page, because a blank document in a fresh context lacks hundreds of APIs a real document has. The baseline has to be a real document of the same kind.
Nine names, the same nine on all 38
TURBOPACK Turbopack's chunk loader __webpack_hash__ "" (an empty string) next the Next.js client router state __next_f the flight data queue NEXT_DEPLOYMENT_ID present, and undefined MotionIsMounted true __SENTRY__ Sentry's global carrier _sentryWrappedDepth 1 __sentry_instrumentation_handlers__ { click, keypress } Every page has exactly this set. There is no page that has a tenth, and none that is missing one. React and Tailwind add nothing to window of their own. I checked storage in the same session on the terms page: 0 localStorage items, 0 sessionStorage items, 0 cookies, which agrees with the earlier request log of what our pages do.
What each one tells you
next is a small object: { version: "16.4.6", appDir: true, turbopack: true, router: { bfcacheId: "0" }, __internal_src_page: "/terms/page" }. The version is the exact one pinned in package.json, and __internal_src_page is the source route of the page you are on. It is not a secret, but it is a free line to anyone who types next into a console.
__webpack_hash__ is an empty string. We use Turbopack, not webpack, and the name exists only for compatibility, so every page defines a property whose value is "".
NEXT_DEPLOYMENT_ID is the odd one. 'NEXT_DEPLOYMENT_ID' in window is true on every page, and window.NEXT_DEPLOYMENT_ID is undefined. The name is defined as a global with nothing in it. As I understand it Next uses that name to handle skew between a deployed page and its chunks, and here it carries no value, so it is a placeholder.
TURBOPACK and __next_f are arrays whose push has been replaced by the framework's loader and its streaming-data handler. At the time I read it __next_f has length 0: by then the server-streamed data has been consumed.
__SENTRY__ is the large one. Its keys are version ("11.20.0", the installed version of @sentry/nextjs) and a carrier keyed by that version holding the default scopes. Serialised, it is between 15,988 and 18,742 characters depending on the page. On the terms page its breakdown is 5,745 characters for the current scope, 2,276 for the isolation scope and 8,063 for the scope stack.
__sentry_instrumentation_handlers__ lists two entries, click and keypress. Sentry listens for both at the document level so it can record breadcrumbs for an error report that may never happen. That is on /terms, a page of legal prose.
21 integrations on a legal page
I also read the client's integrations on the terms page. There are 21: EventFilters, FunctionToString, Breadcrumbs, Console, GlobalHandlers, LinkedErrors, Dedupe, HttpContext, BrowserSession, BrowserTracing, WebVitals, LongTasks, Resources, FetchTracing, XhrTracing and a handful more. Its tracesSampleRate reads 0.1 and sendClientReports is on, which is the reason for the post about our 10 per cent sample still contacting Sentry on every page view. The weight of that stack is the subject of an earlier post on a text page that ships 1 MB of JavaScript.
None of that is wrong. It is the default set for a browser SDK at this version. I mention it because from the outside, a page of legal text turns out to carry a performance, long-task, resource-timing, fetch and XHR instrumentation stack, and the only evidence of it in the page's own source is a configuration file.
MotionIsMounted on a page with no motion
The one I did not expect is MotionIsMounted === true on every page, including /terms, /privacy and /help, which have no animated content at all. That is framer-motion, version 12.42.2, saying it has mounted at least one component. It has, because the footer on every page includes the oversized "NOTIFIO" wordmark that slides up as you scroll, and that one component is the full motion rather than the lighter m.
I wrote about the same pattern on a sibling site from the source side. The global is the runtime proof. If a page you believe is static has MotionIsMounted, something on it is animating or is ready to.
Why this is worth ten seconds
Two reasons. A window-globals diff is the cheapest audit of what runs: nine names took one script and one comparison, and they accounted for four libraries. And the set being identical on all 38 pages is a finding by itself, because it means no page-specific code leaves a global. The site really is one shell with data in it.
To try it on a page of yours: open the console on a text document from your own domain, run Object.getOwnPropertyNames(window), copy the result, then do the same on your busiest page and take the difference. The terms of service on notifio.app/terms will give you the same nine.
