JavaScript
Posts tagged with JavaScript.
Category
Tags
12 more tagsFewer tags
Newsletter
New posts land in your inbox when they publish. No spam, unsubscribe anytime.
You're in. New posts head your way.
Filters1
Category
Tags
12 more tagsFewer tags
12 posts

Add WebMCP so ChatGPT can use your site without clicking around
What is WebMCP on a live page. Register one Site tool with document.modelContext so ChatGPT Work can use your site without clicking around the interface.

Chrome inspect devices fails until USB debugging is on
chrome inspect devices stays empty until USB debugging is on. Tick Discover USB devices, plug a data cable, then click Inspect on the listed phone tab.

Open Console Chrome with Ctrl Shift J not I
Open console chrome with Ctrl+Shift+J, not last panel. Land on a working prompt for this tab, skip Elements, and stop clicking the Console tab after F12.

React Dev Tools Firefox still hides the Components tab
Get react dev tools firefox showing Components and Profiler. Install the AMO add-on, open a React page, reload, then find the tabs in the Toolbox not Console.

This react rerender tool flashes the guilty component
A react rerender tool paints a purple outline on the guilty memoized child. Drop the script before React, click once, then leave that Profiler closed.

Kill the cookie banner (or stop pretending it protects anyone)
Cookie banners often launder consent for trackers you chose to load. Kill non-essential tracking first, or ship equal Reject when ads still need a device ID.

Why Astro, Cloudflare Workers, and Claude Code Fast Track Production
Astro Cloudflare Workers stack ships 90% less JavaScript, starts in under 5ms, and runs workerd in dev. The migration gotchas nobody covers, solved.

WebMCP Has 20× the Interest and Zero Deployments
WebMCP adoption is zero across 111,076 scanned domains while search interest holds near 20 times its January level. Here is what to ship now, and what to watch.

Stop Treating localStorage Like a Database (It Will Bite You in Production)
localStorage has a 5-10MB limit, throws QuotaExceededError silently, and vanishes in Safari private browsing. Here are the five ways it breaks in production and what to use instead.