Programming

Developing Alfred JS SDK

This article introduces developing Alfred JS SDK, including usage scenarios and implementation details, to improve …

· 2 min
Productivity ToolsJavaScript

了解redux-duck

本文介绍了解redux-duck,包括使用场景、实现细节等,以提高了解redux-duck的效率。

· 3 min
React

Enabling GitHub Two-Factor Authentication

This article introduces enabling GitHub two-factor authentication, including usage scenarios and implementation details, …

· 2 min
Git

Write a GitHub Action to Count Repo Stars

Build and publish a reusable GitHub Action that returns a repository’s star count, with API usage and workflow examples.

· 1 min
Git

Online Issue - HTTPS Certificate Error

This article discusses online issue - HTTPS certificate error, including usage scenarios, implementation details, etc., …

· 2 min

The == Operator in JavaScript

This post explains the JavaScript == operator, including type coercion rules and examples.

· 1 min
JavaScript

CDN Explained (Simple Guide)

This article introduces CDN (Content Delivery Network), including usage scenarios and implementation details, to improve …

· 2 min

Install v8-debug

Steps for installing the V8 debug shell via jsvu so you can inspect bytecode and VM internals.

· 1 min
JavaScript

Frontend Workflow — Scaffolding

Using scaffolding (e.g., Yeoman) to standardize project setup, templates, and options for faster, consistent starts.

· 2 min

JavaScript Prototype Chain Basics

This post summarizes the JavaScript prototype chain, its key concepts, and references to help you understand …

· 2 min
JavaScript

Upgrading Webpack 4 to 5

An overview of upgrading from Webpack 4 to 5, including benefits, key changes, upgrade steps, and references to help you …

· 1 min
Build Tools

iframe

This article provides an introduction to iframe technology, covering its advantages, implementation details, and …

· 2 min
WebShell

Commonly Mistaken Export Statements

This article introduces commonly mistaken export statements, including usage scenarios and implementation details, to …

· 2 min
JavaScript

Proxy vs. Reflect in JavaScript

Quick primer on JavaScript metaprogramming concepts—Proxy and Reflect—with background, practical examples, and …

· 2 min
JavaScript

Web Security: CSRF

An overview of CSRF attacks, examples, analysis, and practical defenses including RESTful design, SameSite cookies, …

· 1 min
网络安全

Web Performance: Reflow and Repaint

A practical guide to reducing reflow/repaint in the browser pipeline, with actionable techniques and rationale.

· 1 min
WebShell

Frontend Code Security

Ways to raise the barrier against source theft: build modes, minification, hashing, obfuscation, and more.

· 1 min
Frontend Development

Adaptive Layout & Responsive Layout

A quick refresher on adaptive vs. responsive layouts, how they differ, and the tech behind each.

· 1 min

JS下的Promise

This article provides an introduction to Promises in JavaScript, covering their advantages, implementation details, and …

· 3 min
JavaScript

Same-Origin, CSP, and CORS

A practical overview of Same-Origin Policy, Content Security Policy, and CORS — how they relate and when to use each.

· 2 min
Network Security

HTTP Development History

This article introduces the development history of HTTP, including HTTP definitions, version history, HTTP requests in …

· 4 min

Confusing splice and slice

This article introduces the confusing splice and slice functions, including usage scenarios and implementation details, …

· 2 min
JavaScript

Array.join vs Template strings vs String concatenation

This article introduces the comparison between Array.join, Template strings, and String concatenation, including their …

· 2 min
JavaScript

Frontend Performance Optimization Opportunities for the 12306 Homepage

While the core complexity of 12306 lies in backend ticket searching and booking, the frontend performance can still be …

· 2 min

window.opener

A practical intro to window.opener: what it is, when it exists, how noopener affects process isolation, and trade-offs.

· 2 min
ChromeJavaScript