Custom Push Origin Demo

How does this demo work?

Note: See the "" part of this demo here.

This site represents the "" user-facing site, which:

Users are actually subscribing to push notifications in a new window pointing to http(s)://

How can I reset my state to test like a new user?

Please follow these instructions to wipe your site's storage and reset your notification permissions.

Be sure to close all existing tabs to this site after following those instructions, or simply restart your browser, to complete the reset process.

Where can I see the code?

Be sure to open the Chrome Developer Tools console and look at the logs too!