Topic

JavaScript

Keep up with JavaScript news, runtime changes, browser APIs, package ecosystem debates, and framework shifts from developer communities. Snapbyte.dev turns active JavaScript discussions into ranked summaries for faster catch-up.

What this topic tracks

  • Language proposals and runtime changes
  • Frontend and full-stack framework updates
  • Package ecosystem and build tooling
  • Browser APIs and performance
  • Production JavaScript lessons

JavaScript · 371 stories

Recent stories

Each story's summary, with the places it was discussed.

Summaries are written by AI from the linked sources. Open the source for full context.

20 stories

Goodbye InnerHTML, Hello SetHTML: Stronger XSS Protection in Firefox 148

hacks.mozilla.org · 24 Feb

Cybersecurity · Frontend · JavaScript

Firefox 148 introduces the standardized Sanitizer API, a major security advancement designed to mitigate Cross-site scripting (XSS) vulnerabilities.

By replacing innerHTML with the setHTML() method, developers can automatically clean untrusted HTML before DOM insertion. The API works alongside Trusted Types to provide a safer default for the web without requiring complex architectural changes.

JavaScript's date parser is out of control and needs to be stopped

futuresearch.ai · 18 Mar

Backend · JavaScript · Programming Languages

JavaScript's new Date(string) constructor suffers from unpredictable, implementation-defined parsing logic.

Legacy parsers in V8 and Firefox aggressively guess dates from arbitrary text—leading to silent errors—unlike Python's strict approach. Developers should avoid using the Date constructor as a validator, preferring explicit formats or strict parsing libraries to prevent unexpected behavior.

alchaincyf/huashu-design

github.com · 26 Oct

Artificial Intelligence · Generative AI · JavaScript · UI · AI Agents

Huashu Design is an agent-agnostic HTML-native design skill that turns natural-language requests into deliverable web pages, clickable App prototypes, editable PPTX, animations, and infographics inside Claude Code, Codex, Cursor, and other agents.

It addresses generic AI design by generating six candidate directions, developing three, and using an 84-style specimen library, brand-asset protocol, reference boards, Playwright checks, design linting, and a local appearance ledger. Outputs run locally and are MIT-licensed, with optional cloud features isolated.

Chrome proposes new APIs: Declarative partial updates

developer.chrome.com · 19 May

Frontend · HTML · JavaScript

The Chrome team is introducing 'Declarative Partial Updates' to modernize web performance.

New APIs enable out-of-order streaming via <template> and processing instructions, alongside consistent JavaScript methods for dynamic HTML insertion. These tools allow for 'island architecture' and efficient content delivery, empowering developers to optimize page loads and manage complex web applications more effectively.

Saying Goodbye to Asm.js

spidermonkey.dev · 20 May

JavaScript · Performance · Software Architecture

Mozilla is disabling asm.js optimizations in Firefox 148, with plans to remove the code entirely.

Asm.js paved the way for WebAssembly, providing near-native performance for web applications. Developers are encouraged to migrate to WebAssembly for better performance and smaller binaries. OdinMonkey, the asm.js compiler, is being retired in favor of WebAssembly engines.

Old and new apps, via modern coding agents by Terry Tao

terrytao.wordpress.com · 11 Jul

Artificial Intelligence · JavaScript · Large Language Models

The author used AI-driven coding agents to successfully modernize legacy Java-based mathematical applets into JavaScript.

This process, which included porting old simulations and creating new visualizations for complex topics like special relativity and the Gilbreath conjecture, demonstrated that LLM agents are highly efficient tools for developing interactive mathematical aids with minimal risk.

Firefox for iOS now has a native adblocker

support.mozilla.org · 16 Aug

Frontend · JavaScript

A website cannot proceed because JavaScript is disabled or a required component failed to load.

Possible causes include browser extensions, ad blockers, network problems, or restrictive browser settings. Users should enable JavaScript, check their connection and extensions, or try another browser.

We deserve a better streams API for JavaScript

blog.cloudflare.com · 27 Feb

JavaScript · Node.js · Performance

James Snell criticizes the WHATWG Streams Standard for usability and performance flaws, proposing an alternative built on JavaScript async iterables.

This pull-based approach simplifies backpressure, reduces promise overhead, and eliminates complex locking. Benchmarks show 2x to 120x speed improvements by leveraging batching and synchronous fast paths, advocating for a modern, idiomatic streaming primitive.

LinkedIn scans for 6,278 extensions and encrypts the results into every request

404privacy.com · 30 Apr

Cybersecurity · JavaScript · Law

LinkedIn is covertly scanning users' browser extensions through unauthorized fingerprinting, cross-referencing installed software with verified professional profiles.

This decade-long practice uses obfuscated JavaScript to probe thousands of extensions, creating detailed user profiles without consent. These actions, now under criminal investigation in Germany, potentially violate the EU’s Digital Markets Act and raise significant privacy and security concerns for professional users.

2D Vehicles

patkerr.co.uk · 7 Oct

JavaScript · Physics

A 1996 Atari ST wireframe 2D physics prototype became the basis for the vehicle system in Grand Theft Auto (GTA) and has been recreated in JavaScript as Motion Lab.

The simulation uses classical 2D rigid-body dynamics with forces, torque, rotation, barriers, and fixed time steps. Car, Ship, and Brick modes share one body but apply different force models; the Car approximates tyre resistance, steering, and handbrake behaviour rather than realistic friction.

Show HN: I was tired of opening 2 tabs for every HN link, so I made a userscript

github.com · 28 Jul

Frontend · JavaScript · Open Source

HNewhere is a lightweight userscript that injects a sidebar into any webpage, allowing users to view and interact with Hacker News discussions directly.

It automatically detects matching HN stories, features a resizable, collapsible UI, and integrates with major userscript managers like Tampermonkey or Violentmonkey to enhance your content consumption experience.

Email obfuscation: What works in 2026?

spencermortensen.com · 2 Apr

Cybersecurity · Encryption · JavaScript

Obfuscating email addresses protects them from automated spam harvesters.

While no method is perfect, using techniques like JavaScript conversion, AES encryption, CSS 'display: none', or user interaction events effectively deters most unsophisticated bots. Conversely, simple methods like plain text, HTML comments, or basic encoding offer minimal protection but remain surprisingly common in practice.

Wander – A tiny, decentralised tool (just 2 files) to explore the small web

susam.net · 18 Mar

JavaScript · Business · Open Source

Wander is a community-driven project that enables decentralized web discovery.

By hosting a 'Wander console' on your own server using provided scripts, you connect your personal website to an interconnected network of independent sites. Users can navigate randomly between consoles, fostering a distributed and community-maintained browsing experience for personal web projects.

antonpictures/youtube-punisher

github.com · 26 Nov

Frontend · JavaScript

YouTube Ad Punisher is a Manifest V3 browser extension that detects YouTube ads, records the current playback time, reloads the page up to three times, and restores playback position so the ad usually disappears without waiting for Skip Ad.

It uses DOM detection and MutationObserver, falls back to yout-ube.com after failed reloads, and provides local ad history with JSON/CSV export and popup statistics. It supports live streams and limits permissions to storage and tabs on YouTube domains.

louislam/uptime-kuma

github.com · 14 Nov

DevOps · JavaScript · Monitoring

Uptime Kuma is an easy-to-use, self-hosted monitoring tool for tracking HTTP(S), TCP, WebSocket, Ping, DNS, Push, Steam Game Server, and Docker Containers.

It provides a fast reactive UI, 20-second monitoring intervals, multi-language support, multiple status pages, ping charts, certificate information, proxy and 2FA support, plus notifications through Telegram, Discord, Slack, email, and 90+ services. It distinguishes itself with broad monitor coverage and a polished interface.

Where it came fromHacker NewsLobstersRedditGitHubCreate a JavaScript digest that filters the ecosystem down to the stories worth reading.Build your digest