
Blog
Cách đồng bộ hoá dữ liệu định kỳ ở chế độ nền
Tính năng đồng bộ hoá trong nền định kỳ cho phép bạn hiển thị nội dung mới khi một ứng dụng web tiến bộ hoặc trang được hỗ trợ bởi worker dịch vụ được khởi chạy. Ứng dụng này thực hiện việc này bằng cách tải dữ liệu xuống ở chế độ nền khi ứng dụng
- CSS
- JavaScript
- HTML
21 tháng 12, 2024
Cách tạo lối tắt ứng dụng
Lối tắt ứng dụng giúp người dùng nhanh chóng bắt đầu các thao tác phổ biến hoặc thao tác đề xuất trong ứng dụng web của bạn. Việc dễ dàng truy cập vào các thao tác đó từ bất cứ nơi nào biểu tượng ứng dụng xuất hiện sẽ nâng cao năng suất của người
- JavaScript
- HTML
18 tháng 11, 2024
Cách thêm Giao diện người dùng cài đặt phong phú hơn
Hãy xem ví dụ bên dưới để biết phiên bản mặc định chưa cung cấp đủ ngữ cảnh. Để nhận hộp thoại Giao diện người dùng Cài đặt phong phú hơn thay vì lời nhắc nhỏ mặc định thông thường, hãy thêm các trường screenshots và description vào tệp kê khai web
- HTML
- JavaScript
14 tháng 8, 2024
How to create an app badge
Badges are used to convey non-urgent information to the user. For example, they are used to indicate the status of an app, or the number of unread items. The classic way of creating an app badge is to add a number to the favicon. On modern browsers,
- JavaScript
- CSS
- HTML
27 tháng 2, 2025
How to access contacts from the address book
Sometimes you want to let users of your app select one of their contacts to message via an email or chat application, or help them discover which of their contacts have already joined a social platform. To get contacts from the address book, you need
- CSS
- JavaScript
- HTML
27 tháng 2, 2025
How to use multiple screens
To make sure your browser supports the getScreenDetails() method, first check if it exists on the window object. Then, call window.getScreenDetails() to get attached screens. Adding an event listener to adapt to changed screen details allows you to
- CSS
- HTML
- JavaScript
27 tháng 2, 2025
How to let the user share the website they are on
Letting the user share the website they are on is a common web apps pattern that you can find on many news sites, blogs, or shopping sites. Since linking is one of the web's super powers, the hope is to acquire traffic from users who see the shared
- JavaScript
- HTML
- CSS
27 tháng 2, 2025