---
title: "Clear your environment to test web push"
slug: "debug-clearing-environment-web-push"
updated: 2026-07-14T10:02:52Z
published: 2026-07-14T10:02:52Z
canonical: "docs.xtremepush.com/debug-clearing-environment-web-push"
stale: true
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xtremepush.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Clear your environment to test web push

Clear the saved data in your browser to test web push from scratch

This guide provides instructions on how to clear your environment to test web push and opt-in from scratch.

Our web SDK saves a local storage item and there is also a push subscription sitting separately in the browser settings. These must both be cleared.

If you delete data but keep the push subscription, the next time the user opens the website they will be automatically subscribed to push notifications with the same token. To make a clean environment you need to delete both data and the push subscription in settings.

Details on removing your push subscription for the different browsers and platforms can be found below:

## Chrome

### Chrome desktop

Open Chrome and click on the **padlock** that appears on the URL bar **> Site Settings > Clear Data and Reset permissions**, then return to your page and click on **Reload** to apply the changes.

![1016](https://cdn.document360.io/b056e88b-f6c1-4bd2-b5b8-08e9336a17c9/Images/Documentation/41ce7bd-Screenshot_2021-05-14_at_14.43.37(1).png)

Access the Site settings menu directly.

Alternatively, go to Chrome, click on the **options ( : ) > Settings**.

![2880](https://cdn.document360.io/b056e88b-f6c1-4bd2-b5b8-08e9336a17c9/Images/Documentation/d4b2855-Screenshot_2021-05-14_at_14.33.47(1).png)

Main settings page, navigate to Site settings.

Then click on **Site Settings > Notifications** and delete the entry for your website by clicking on the **options ( : ) > Remove**.

![2482](https://cdn.document360.io/b056e88b-f6c1-4bd2-b5b8-08e9336a17c9/Images/Documentation/077a752-Screenshot_2021-05-14_at_14.37.49(1).png)

Notifications page, remove your website from the list.

Alternatively, click **Settings** from a notification in the notification center and then delete the entry for your website from the list (again by clicking on the **options ( : ) > Remove**).

### Chrome mobile

From your Android smartphone open your website from the Chrome app. Click on the **options ( : ) > Settings.**

![899](https://cdn.document360.io/b056e88b-f6c1-4bd2-b5b8-08e9336a17c9/Images/Documentation/92a43ad-WhatsApp_Image_2021-05-14_at_14.53.27(1).jpeg)

Accessing the Settings menu from your website

Navigate to **Site Settings > Notifications** and remove your website from the list by clicking on it **> Remove**.

![899](https://cdn.document360.io/b056e88b-f6c1-4bd2-b5b8-08e9336a17c9/Images/Documentation/398f6f4-WhatsApp_Image_2021-05-14_at_14.53.27_1(1).jpeg)

Remove your site from the Notifications page.

Alternatively, click on **Site Settings** from a push notification and then click **Clear & Reset** on the individual site settings screen

![899](https://cdn.document360.io/b056e88b-f6c1-4bd2-b5b8-08e9336a17c9/Images/Documentation/66f1d25-WhatsApp_Image_2021-05-14_at_14.53.17(1).jpeg)

You can also access Site settings for this particular website from a specific push notification.

## Firefox

### Firefox desktop

Open Firefox and click on the **three-line menu ( : ) > Preferences > Privacy and security > Notifications**.

![2476](https://cdn.document360.io/b056e88b-f6c1-4bd2-b5b8-08e9336a17c9/Images/Documentation/563ed88-Screenshot_2021-05-14_at_15.06.03(1).png)

Notifications page in Firefox desktop

Click on Settings and remove your website from the list by clicking on **Remove website > Save changes**.

![](https://cdn.document360.io/b056e88b-f6c1-4bd2-b5b8-08e9336a17c9/Images/Documentation/451bb0e-Screenshot_2021-05-14_at_15.05.47(1).png)

### Firefox mobile

From your Android smartphone open your website from the Firefox app. Click on the **options ( : ) > Settings.**

![899](https://cdn.document360.io/b056e88b-f6c1-4bd2-b5b8-08e9336a17c9/Images/Documentation/7234185-WhatsApp_Image_2021-05-14_at_15.23.45_1(1).jpeg)

Then navigate to **Site Permissions > Exceptions** > click on the name of your website > **Clear permissions.**

![899](https://cdn.document360.io/b056e88b-f6c1-4bd2-b5b8-08e9336a17c9/Images/Documentation/08be177-WhatsApp_Image_2021-05-14_at_15.23.45(1).jpeg)

## Safari

Open Safari and click on the **Safari** menu > **Preferences**.

![802](https://cdn.document360.io/b056e88b-f6c1-4bd2-b5b8-08e9336a17c9/Images/Documentation/6c8670d-Screenshot_2021-05-14_at_15.30.17(1).png)

Then go to **Notifications** and remove your website from the list by clicking on it > **Remove.**

![](https://cdn.document360.io/b056e88b-f6c1-4bd2-b5b8-08e9336a17c9/Images/Documentation/570c89b-Screenshot_2021-05-14_at_15.39.21(1).png)
