Clearing Cache and Resetting Push Permissions
Reset browser push permissions and data
Even if your settings are configured correctly, if you had previously used incorrect settings, push notifications may not work due to invalid permission or background worker states. These steps will reset your site's notification permissions, clear your site's storage, and remove our background worker.
Reset Chrome on Desktop
- Click the "lock icon" next to your URL in the Chrome browser.
- Next to "Notifications" permission dropdown, select "Ask (default)" (if you do not see this skip to step 3).
- Click Cookies to open the browser's "Cookies in use" page.
- Find and select your site (if you do not see your site, skip to step 8).
- Click Remove.
- Click Done.
- You should see a dropdown prompt to "Reload the page". Click the Reload button.
If you have immediate Prompting setup, you should now see a prompt on your site. Do not attempt to subscribe to your site yet.
- If you are using a label like
yourlabel.os.tc
you will need to follow the above steps again for thisos.tc
site.
Optional: Visit chrome://serviceworker-internals/ in a new tab and press the 'Stop' and 'Unregister' buttons under any Scopes that contain yoursite.domain
or yourlabel.os.tc
. If they won't remove, make sure all tabs or windows pointing to either domain are closed.
Done!
Open a new tab to your site and try it out!
Reset Chrome on Android
If you still have a notification from your site visible in your notification drawer:
Click the gear icon and 'Site Settings'.
Click 'Clear & Reset'.
If you do not have a notification open, open Chrome on Android, tap the 3-dot menu, Settings, Site settings (under Advanced), Notifications, make sure it's set to "Ask before sending (recommended)". Find your site on the list, click the entry, and click Clear and Reset.
Done!
Open a new tab to your site and try it out!
Reset Firefox on Desktop
Non-HTTPS domains are no longer supported
Sites hosted on HTTP are no longer supported. If your site uses our os.tc domain for HTTPS support, please update your code to use your HTTPS domain. Sites that continue to use this domain will no longer be able to prompt for push notifications; however, existing subscriptions will continue to receive notifications. Please contact our support team if you need further assistance migrating from the os.tc domain.
- Click the "i" or "lock" icon next to your site URL.
- Next to Receive Notifications under Permissions select the "X" button next to Allowed
- On the same dialog, at the bottom select Clear Cookies and Site Data...
- On the popup dialog that opens, click "OK"
- If your site is hosted on an HTTP domain and uses our
os.tc
domain for HTTPS compatibility, repeat the previous steps on theos.tc
subdomain.
Reset Firefox on Android
Please follow this Firefox guide to clear all your browser data.
Reset Safari on macOS
Apple does not support Web Push for Safari on Windows.
On the top menu bar, go to:
- Safari > 2. Settings > 3. Websites > 4. Notifications > 5. Select your site > 6. Click Remove to delete Notification Permissions for the site.
Then select 7. Privacy > 8. Manage Website Data...
- Find and select your site > 10. Click Remove or Remove All (Remove All clears all site data) > 11. Click Done
Reset Safari on iOS / iPadOS
On the mobile device, go to Settings > scroll to Safari > scroll and select Clear History and Website Data. You'll be asked again to clear, and if you want to close all tabs (if applicable).
Done!
Return to your site and refresh the page, you should now access it like a first time visitor.
Updated over 1 year ago