> For the complete documentation index, see [llms.txt](https://developer.gravityfield.ai/lang/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.gravityfield.ai/lang/en/running-and-qaing-campaigns/disabling-gf-script.md).

# Disabling GF script

Created: July 4, 2023

Updated: July 4, 2023

Author: Polina A.

Disabling the platform script may be necessary to view website pages without GF campaigns and to swiftly verify if any aspects of the site's display are related to the personalization platform or the site's code itself.

There are two options for disabling the script: soft disabling via a URL parameter and hard disabling through blocking requests to the domain in the browser console.  The first approach is recommended as it is sufficient in the majority of cases.

## **Soft Disabling**

Add the following parameter to the website URL: <mark style="color:red;">**`?sl_disable=true`**</mark>

For example:

```jsx
https://www.yoursite.com/?sl_disable=true
```

To re-enable the script, replace the parameter value with <mark style="color:red;">**`?sl_disable=false`**</mark>.

## **Hard Disabling**

1. Open the console.
2. Open the “network” tab.
3. Refresh the page.
4. In the "filter" field, enter "core.js."
5. Right-click on the displayed request and block the domain (if scripts are loaded without a custom CDN, if using a custom CDN, block the specific URL).
6. Refresh the page.

<figure><img src="/files/7l4dBeEuX6BTSJPl1DZi" alt=""><figcaption></figcaption></figure>

To re-enable the script, you need to find "core.js," which will be highlighted in red (blocked), and after right-clicking, select "unblock cdn01.stellarlabs.ai / cdn01.gravityfield.ai"

<figure><img src="/files/fthMxV71nZ6jP1sA4tPS" alt=""><figcaption></figcaption></figure>
