# Getting Rid of Unnecessary Browser Traffic

1. Do you see unnecessary traffic in your site map? Are they originating from Firefox browser itself? We need to get rid of these noise.

   \*\*\*\*![](file:////Users/vandanaverma/Desktop/appseccali/0-initial-setup/8-getting-rid-of-unnecessary-browser-traffic/img/4.png)\*\*\*\*
2. To disable capturing of unnecessary browser traffic, analyze the traffic in the "Site map" and identify URL patterns that need to be excluded. In the current scenario, we observe that most of the noise is originating from following two domains:
   * `firefox.com`
   * `mozilla.com`
3. In your Firefox browser, click on "FoxyProxy" icon and select "**Options**"

   \*\*\*\*![](file:////Users/vandanaverma/Desktop/appseccali/0-initial-setup/8-getting-rid-of-unnecessary-browser-traffic/img/4_fxpx_addon.png)\*\*\*\*
4. Choose the recently created proxy (named as, "localhost-8080") and click on "**Patterns**" button.

   \*\*\*\*![](file:////Users/vandanaverma/Desktop/appseccali/0-initial-setup/8-getting-rid-of-unnecessary-browser-traffic/img/5_fxpx_addon.png)\*\*\*\*
5. In the "Add/Edit Patterns for localhost-8080" window, click on "**New Black**" button, and edit the "Name" and "Pattern" fields as shown below:

   * **1st Black Pattern**:
     * Name: `firefox.com`
     * Pattern: `*.firefox.com`
   * **2nd Black Pattern**:
     * Name: `mozilla.com`
     * Pattern: `*.mozilla.com`

   \*\*\*\*![](file:////Users/vandanaverma/Desktop/appseccali/0-initial-setup/8-getting-rid-of-unnecessary-browser-traffic/img/6_fxpx_addon.png)\*\*\*\*

   \*\*\*\*![](file:////Users/vandanaverma/Desktop/appseccali/0-initial-setup/8-getting-rid-of-unnecessary-browser-traffic/img/7_fxpx_addon.png)\*\*\*\*
6. Delete the other (default) patterns listed under "Black Patterns". The final screen should look similar to:

   ![](file:////Users/vandanaverma/Desktop/appseccali/0-initial-setup/8-getting-rid-of-unnecessary-browser-traffic/img/11_fxpx_addon.png)
7. Click on "Save" button and select the option "**Use Enabled Proxies By Patterns and Priority**".

   \*\*\*\*![](file:////Users/vandanaverma/Desktop/appseccali/0-initial-setup/8-getting-rid-of-unnecessary-browser-traffic/img/13_fxpx_addon.png)\*\*\*\*

   \*\*\*\*![](file:////Users/vandanaverma/Desktop/appseccali/0-initial-setup/8-getting-rid-of-unnecessary-browser-traffic/img/12_fxpx_addon.png)\*\*\*\*
8. Also, disable following browser configurations by accessing `about:config` in the address bar of your Firefox browser.
   * `browser.urlbar.autoFill.typed`

     ![Auto-fill](file:////Users/vandanaverma/Desktop/appseccali/0-initial-setup/8-getting-rid-of-unnecessary-browser-traffic/img/1_autocomplete.png)
   * `network.captive-portal-service.enabled`

     ![Captive portal](file:////Users/vandanaverma/Desktop/appseccali/0-initial-setup/8-getting-rid-of-unnecessary-browser-traffic/img/2_captiveportal.png)

References:&#x20;

<https://www.blackhillsinfosec.com/towards-quieter-firefox/>

<https://www.blackhillsinfosec.com/towards-quieter-firefox/>


---

# 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://infosecgirls.gitbook.io/infosecgirls-training/appsec/initial-setup/getting-rid-of-unnecessary-browser-traffic.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.
