Technical Articles

18 years of development experience — browser extensions, WebAssembly, WebGPU, privacy engineering, and more

2026-11

Tesseract in the Zip: What "100% Local OCR" Costs in an MV3 Extension

What the no-upload promise forces into code: a whitelisted vendor build, one host permission, CSS-pixel to physical-pixel crop math, a storage handoff, and a quota that only bills successful runs.

Chrome Extensions MV3 WebAssembly
2026-11

A Fee Table That Updates Itself: Hot-Reloading Amazon's Numbers in an MV3 Extension

A hand-transcribed fee table that updates without a store release: the export tool, the daily alarm, the schema guard, the version-string trap, and a calculator that stays pure.

Chrome Extensions MV3 Data Pipelines
2026-11

A Lock Screen Inside a Browser: PBKDF2, Surviving Restarts, and Honest Throttles

How VKT VeilMate builds a lock screen inside a browser extension: PBKDF2-SHA256 at 310,000 iterations, lock state that survives a restart, cooldowns computed from deadlines instead of ticks, and alarms that outlive the service worker.

Chrome Extensions MV3 Web Crypto
2026-11

Covering Every Tab Without Navigating: A Closed Shadow-DOM Veil in MV3

Why VKT VeilMate hides browser tabs with a closed shadow-DOM overlay instead of navigating pages away: event interception, self-healing host elements, and lossless unlock in Manifest V3.

Chrome Extensions MV3 Shadow DOM
2026-11

browsingData Ignores Your Origin List for Four of Nine Data Types

chrome.browsingData.remove accepts an origins array and quietly applies it to only some data types. Downloads, form data, passwords and history ignore it entirely — and how VKT CleanMate routes around it.

Chrome Extensions MV3 Privacy
2026-10

Locking the Buy Button: Building a Checkout Guard in MV3

A DOM-only checkout guard for MV3: document_start injection in all frames, capture-phase click and submit interception, a Shadow DOM overlay, stored deadlines with alarms, and the cost of shipping no skip button.

Chrome Extensions MV3 DOM
2026-10

Selector Drift Across 24 Checkout Flows: Building an Adapter Layer That Checks Itself

Why 24 site presets and a generic fallback must coexist, how multilingual button text and dual URL/DOM signals are matched, and how a passive self-check detects selector drift without scanning whole sites.

Chrome Extensions MV3 Selectors
2026-10

80,000 Pixels Tall: Geometry Budgets, Viewport Traps and a Deadlock in MV3 Full-Page Capture

An infinite feed at 85,691 px, the viewport trick that captures half a page, a 10 MB storage wall, and a lock that survived until browser restart.

Chrome Extensions MV3
2026-10

Six Ways License Validation Fails Silently in Browser Extensions

Offline-forever Pro, UI and background disagreeing on expiry, in-flight snapshot races, HTTP 200 with valid:false, dead code behind a missing export.

Licensing Security
2026-10

Referer You Cannot Set: Anti-Hotlink Image Downloads in MV3

"Completed 40 images", zero files saved. Why downloads.download ignores Referer, how DNR rule slots get clobbered, and the blob pipeline MV3 forces you into.

Chrome Extensions DNR
2026-10

world: 'MAIN' Is the One Injection Path CSP Kills

Style element present, 632 characters of CSS, no error, no effect. The measured three-way comparison of MAIN, ISOLATED and chrome.scripting.insertCSS.

CSP Chrome Extensions
2026-10

From HTML Table to XLSX: rowspan=0, Pinned Column Clones and Formula Injection

Measure rows, split headers, MUI pinned clones, AG Grid wrappers, Excel hard limits, and sanitising formulas without breaking phone numbers.

Data Extraction Algorithms
2026-10

Full-Page Screenshots in Chrome Extensions: Stitching, Fixed Elements and Memory Limits

captureVisibleTab quota pacing, scroll-and-stitch with devicePixelRatio, hiding fixed headers, canvas size limits, and the CDP captureBeyondViewport alternative.

Chrome Extensions Canvas
2026-10

TOTP from Scratch: Building an Offline 2FA Authenticator with Web Crypto

Implement RFC 6238 in the browser with zero dependencies: Base32, HMAC via Web Crypto, dynamic truncation, otpauth URIs, and RFC test vectors.

Security Web Crypto
2026-10

Perceptual Hashing in the Browser: Near-Duplicate Image Detection

DCT-based pHash in pure JavaScript: grayscale downscale, bit packing, Hamming distance, and banded indexing for whole image libraries.

Image Processing Algorithms
2026-10

Parsing HTML Tables with Merged Cells: A Grid Normalization Algorithm

A grid normalization algorithm for rowspan/colspan tables, multi-row header flattening, text extraction, and CSV export that opens safely.

Algorithms Data Extraction
2026-10

PWA Install and Offline Caching: What Actually Works in 2026

Install criteria, the beforeinstallprompt dance, iOS Safari's separate rules, versioned service worker caches, and storage persistence.

PWA ServiceWorker
2026-10

Falling Sand on Canvas: Cellular Automata at 60 FPS

Uint8Array grids, bottom-up iteration, ImageData rendering, and a fixed-timestep loop — the data layout that makes 60 FPS the default.

Canvas Performance
2026-09

Git Beyond Commit and Push: Reflog, Bisect, Worktree and Interactive Rebase

Practical Git that saves hours: recover deleted work with reflog, find the commit that broke production with bisect, and work two branches at once with worktree.

Git Tooling
2026-09

Modern CSS You Probably Missed: :has(), Container Queries, @layer and Native Nesting

Seven CSS features that replace JavaScript and preprocessor workarounds — with real examples you can ship today.

CSS Frontend
2026-09

Debugging Like a Senior Engineer: A Systematic Method That Actually Works

Reproduce deterministically, read the whole error, cut the search space in half, work outside in, change one thing at a time, lock it in with a test.

Debugging Methodology
2026-09

SQLite in the Browser: Building a Local-First Database with OPFS

Run a full SQLite database in the browser using WebAssembly and OPFS. Persistent, fast, and completely offline. No server required.

SQLite OPFS WebAssembly
2026-09

WebGPU in 2026: Running AI Inference and Parallel Computing in Your Browser

WebGPU brings GPU-accelerated computing to the browser. Run AI models, process images, and perform parallel computation entirely client-side.

WebGPU AI
2026-08

WebAssembly Image Processing in the Browser: From Pixels to Formats

Build high-performance, zero-network image processing pipelines with Canvas API and WebAssembly. PNG, JPEG, WebP, AVIF conversion with real code examples.

WebAssembly Image Processing
2026-08

Browser Fingerprinting Explained: 30 Ways You're Being Tracked Online

Canvas, WebGL, AudioContext, font enumeration, and 26 more fingerprinting vectors. How websites identify you without cookies and how to defend your privacy.

Privacy Security
2026-07

Local-Only Image Processing Architecture via Offscreen Documents

Zero-network image conversion, batch processing with memory management, CDP screenshots, and clipboard operations — all without a single fetch() call.

Offscreen Chrome Extensions
2026-06

Least Privilege Implementation & Chrome Web Store Review Checklist

activeTab dynamic injection, permission minimization, top 12 rejection reasons with fixes, and multi-browser compatibility strategies.

Permissions Chrome Web Store
2026-05

Service Worker Resilience & State Persistence for MV3

Production patterns for handling SW termination, persistent task queues, alarm-based timers, and ACK-based messaging in Manifest V3 extensions.

ServiceWorker MV3
📡 Subscribe via RSS