Periodic Background Sync Registration - Online PWA Tool
Register a periodic background sync with a minimum interval. See the registration state and tags. Keep content fresh.
UD5 Toolkit
PWA Feature Simulate & explore the Periodic Background Sync API
No data synced yet. Trigger a sync to see results.
periodic-sync eventSyncManager) is designed for immediate recovery — when a user action (like sending a message) fails due to no connectivity, the sync is queued and fired as soon as the network returns. It's one-shot and tied to a specific failed operation.PeriodicSyncManager) is designed for proactive content updates. It runs on a recurring schedule (minimum 12-hour intervals in Chrome) regardless of immediate user actions. The browser intelligently schedules these syncs based on user engagement patterns, network quality, and battery status. Think of it as "scheduled maintenance" vs "immediate retry."
periodic-sync event listener:self.addEventListener('periodicsync', event => {
if (event.tag === 'news-update') {
event.waitUntil(fetchAndCacheLatestNews());
}
});const registration = await navigator.serviceWorker.ready;
await registration.periodicSync.register('news-update', {
minInterval: 12 * 60 * 60 * 1000 // 12 hours
});background-fetch or direct fetch in your SW. Always provide user-facing controls to manage background sync preferences.
navigator.onLine status.
Register a periodic background sync with a minimum interval. See the registration state and tags. Keep content fresh.
Register a periodic background sync and see the status. Schedule content updates for your PWA. API demo.
Connect an audio source to an Analyzer Node and display frequency and time‑domain data. Learn Web Audio visualization.
Pomodoro timer with built‑in lo‑fi music playlist (synthetic). Focus and rest cycles. No copyright music; generated tones.
Process audio faster than real‑time with OfflineAudioContext. Apply filters and export the result. Dev tool.
Mix white noise, pink noise, rain, thunder, wind, and cafe sounds. Individual volume, save presets. Relax or focus. All client‑side.
Mix multiple ambient sounds (rain, fireplace, cafe, forest) at different volumes. Create your perfect background noise. Local loops.
Paste text to see a live letter frequency bar chart. Helps break substitution ciphers. All local analysis.
Trigger different vibration patterns on mobile devices. Test if your phone supports haptic feedback. Simple demo.
Play a sweep from 20Hz to 20kHz. Test your speakers and your hearing. Simple and effective. Web Audio API.
Play a simple monophonic synthesizer with your keyboard. Choose waveform, attack, decay, and filter. For music fun.
Read the ambient atmospheric pressure in hPa using the Pressure Sensor API (if available). Real‑time graph.
Zoom through the electromagnetic spectrum from radio waves to gamma rays. See wavelength, frequency, and applications. Static educational page.
Load an audio file and see its spectrogram with frequency over time. Adjust resolution and color map. Discover hidden sounds.
Use the Magnetometer API to build a digital compass. See magnetic field strength and heading in real time.
Choose a base color and see its complementary, split‑complementary, triadic, and tetradic harmonies. Copy palettes. Local.
Play a collection of retro 8‑bit synth pads and leads using your keyboard. Record sequences and export as WAV. Pure Web Audio API.
Pick a method, URL, headers, and body, then send an HTTP request directly from your browser. Debug APIs easily.
Enter text and generate the corresponding Morse code audio beeps. Adjust speed and tone. Great for learning and practicing CW. No download.
Experiment with the experimental Prompt API and Summarization API right in your browser. See how the on‑device AI model responds. Requires Chrome with AI features enabled.
Play a selection of local lo‑fi tracks (embedded). Simple UI with play/pause. No copyright issues. Stay focused.
Write a pattern and test it against URLs instantly. See which groups match. Learn the modern alternative to regex for routing. Works entirely in the browser.
Drop an audio file and instantly see its duration in seconds and formatted time. Read metadata without full playback.
Select color bands to decode a resistor's value, tolerance, and temperature coefficient. Essential for anyone working with electronics hardware.
Hear a common bird song and choose the correct species from multiple choices. Ear training for birders.
Change the viewport meta tag and see how a page would render at different device widths. Understand responsive basics.
Apply lowpass, highpass, and reverb to an audio source. See frequency response. Create your own guitar pedal. All local.
Route your microphone input through a chain of virtual effects (distortion, reverb, delay) using Web Audio API.
Complete a series of visual pattern puzzles and get a fun estimated score. Purely for entertainment. No data collected.
Select functional groups to see an approximate IR absorption spectrum. Learn spectroscopy visually. All local.