# 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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.gravityfield.ai/lang/en/running-and-qaing-campaigns/disabling-gf-script.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
