
Blog
Come sincronizzare periodicamente i dati in background
La sincronizzazione in background periodica ti consente di mostrare contenuti aggiornati quando viene lanciata una pagina basata su worker di un servizio o di un'app web progressiva. A tale scopo, scarica i dati in background quando l'app o la pagina
- CSS
- HTML
- JavaScript
21 dicembre 2024
Come creare scorciatoie app
Le scorciatoie dell'app aiutano gli utenti ad avviare rapidamente attività comuni o consigliate all'interno della tua app web. L'accesso facile a queste attività da qualsiasi posizione in cui viene visualizzata l'icona dell'app migliorerà la
- JavaScript
- HTML
18 novembre 2024
Come aggiungere un'interfaccia utente di installazione più completa
Di seguito è riportato l'esempio dell'esperienza predefinita, che non fornisce un contesto sufficiente. Per visualizzare la finestra di dialogo dell'interfaccia utente di installazione avanzata anziché il normale prompt predefinito, aggiungi i campi
- JavaScript
- HTML
14 agosto 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 febbraio 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 febbraio 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 febbraio 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 febbraio 2025