Melin's Blog

Latest posts

See all posts
  • The Web Locks API: A Lifesaver When It Matters
    How to coordinate browser tabs, prevent competing uploads, and keep asynchronous work under control. By zhangxinxu . Adapted from the original article, with practical excerpts f...
  • A Quick Guide to `window.name`: What It Does and When It Helps
    A small browser property that can survive a page change—and a reminder that browser history shapes today’s APIs. Most JavaScript state disappears when you navigate to another pa...
  • JS Intl Object: A Complete Introduction and Its Applications in Chinese
    Originally inspired by zhangxinxu’s 2019 article on the ECMAScript Internationalization API. This version is rewritten as a concise technical Medium-style introduction, with pra...
  • Tip: Handling JavaScript Focus Without Page Scrolling or Repositioning
    By zhangxinxu Original source: https://www.zhangxinxu.com/wordpress/?p=8972 Managing focus is one of those small frontend details that can quietly make or break the user experie...
  • Browser Native Lazy Loading for IMG Images with `loading="lazy"`: A Practical Guide
    Native image lazy loading is one of those small HTML features that removes a surprising amount of JavaScript from everyday frontend work. Instead of watching scroll events, calc...
© 2026 • Melin
Press Esc or click anywhere to close