Skip to content
JS

JavaScript in the Background

Course on Master.dev by Maximiliano Firtman

View on Master.dev (opens in a new tab)
5 h
LengthVideo runtime
Subscription
Price modelMaster.dev plan
32
Lessons
Jan 2023
Published12 Jan 2023

About this course

Description from Master.dev

What happens to your JavaScript when the user closes their browser or leaves your web app in the background? Explore new capabilities for your web app to detect these changes and execute code later. Improve user experience through things like updating the user, saving and restoring state, or processing pending operations. Plus, using the Web Push API, you can enable users to subscribe to receive real-time push notifications from your web app.

What it covers

32 lessons
  1. 01

    Introduction

    1. Introduction
    2. The Background
  2. 02

    Web App Lifecycle

    1. Web App Lifecycle
    2. Observing Desktop Background JavaScript
    3. Observing Mobile Background JavaScript
    4. Background JavaScript Execution Rights
  3. 03

    Service Worker Background APIs

    1. Service Worker Background APIs
    2. Background Detection
    3. Visibility Change Detection
    4. Coding Visibility Change
    5. Freezing Detection
    6. App Change Detection
  4. 04

    Service Workers

    1. Service Worker Capabilities
    2. Service Worker Q&A
    3. Registering a Service Worker
    4. Notifications & UI
    5. Media Session API
    6. Picture In Picture Possibilities
    7. Media Session & PiP Practice
    8. Beacon API
  5. 05

    Waking Up Background JavaScript

    1. Background Sync
    2. Background Sync Q&A
    3. Periodic Background Sync
    4. Background Fetch
  6. 06

    Push Notifications

    1. Push Notifications
    2. Push Notifications Setup
    3. Generating Keys
    4. Creating Subscriptions
    5. Registering Subscriptions in Node.js
    6. Requesting Subscription Access
    7. Options & Events
  7. 07

    Wrapping Up

    1. Wrapping Up

Similar JavaScript courses

  1. Building a Web Application with JavaScript and IndexedDB

    Educative · Programming Bytes · 31 lessons · Sept 2025

    Beginner5 hSubscription
    Educative31Sept 2025
  2. Building Safer JavaScript Applications

    Educative · Quinton Aiken · 25 lessons · Nov 2024

    Beginner5 hSubscription
    Educative25Nov 2024
  3. Intermediate5 h
    CourseraJun 2023
  4. Integrate The Movie Database API in JavaScript

    Educative · Educative · 24 lessons · Nov 2024

    Beginner5 hSubscription
    Educative24Nov 2024
  5. Learn p5.js: Fundamentals

    Codecademy · 4 lessons · Jan 2023

    Intermediate5 h
    Codecademy4Jan 2023
  6. Visual Studio Code

    Master.dev · Mike North · 49 lessons · Dec 2017

    5 hSubscription
    Master.dev49Dec 2017
  7. Electron Fundamentals, v2

    Master.dev · Steve Kinney · 56 lessons · Feb 2019

    4 h 56 minSubscription
    Master.dev56Feb 2019
  8. JavaScript Performance

    Master.dev · Steve Kinney · 53 lessons · Apr 2018

    4 h 56 minSubscription
    Master.dev53Apr 2018

A hyphen means the provider's catalogue does not state the value.

Same topic, nearest in length, up to three from any one provider.

Data read from the Master.dev catalogue on 28 Nov 2026. How the data is collected.

    Compare