How to Read and Modify URL Parameters in JavaScript
Learn to read, add, update, and delete URL parameters in JavaScript with URLSearchParams, including encoding, duplicate values, and practical examples.
Practical guides for cleaner URLs, smarter SEO, and a more thoughtful web. Find your next useful idea.
Explore the journal
66 articles
Learn to read, add, update, and delete URL parameters in JavaScript with URLSearchParams, including encoding, duplicate values, and practical examples.
Build a Manifest V3 Chrome extension that parses pasted URLs into scheme, hostname, path, query, and fragment—without broad permissions or unsafe handling.
Build a minimal Manifest V3 Chrome extension that removes selected tracking parameters from pasted URLs while preserving functional query parameters.
Learn what async/await changes, how it relates to promises, and when to use error handling, sequential awaits, or Promise.all for concurrent work.
Learn how JavaScript's call stack, event loop, promises, microtasks, and non-blocking I/O let apps handle many connections—and when workers matter.
Build a browser-based JSON diff tool with parsing, recursive object comparison, array handling, missing-property detection, tests, and safe visual highlights.