Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/cloudwaddie/aitweaker/llms.txt

Use this file to discover all available pages before exploring further.

When AI Leaks Tweaker’s proxy is running on 127.0.0.1:8000, your browser needs to send its requests through that address so mitmproxy can intercept and modify them. You can do this system-wide by changing your OS network settings, but that routes all traffic — including unrelated apps — through the proxy. FoxyProxy is a browser extension that gives you finer control: you point only your browser at the proxy, and you can toggle it on or off with a single click from the toolbar.

System-wide proxy vs. FoxyProxy

ApproachWhat it affectsWhen to use it
OS proxy settingsAll network traffic on the machineWhen you need to intercept traffic from apps other than the browser
FoxyProxyBrowser requests onlyWhen you only need to intercept Gemini, Copilot, or similar web traffic
FoxyProxy is the approach recommended in the AI Leaks Tweaker README because it is quicker to toggle and does not affect other applications.

Installing FoxyProxy

1

Open the Firefox Add-ons page

Navigate to addons.mozilla.org and search for FoxyProxy Standard, or go directly to the FoxyProxy Standard listing.
2

Add to Firefox

Click Add to Firefox, then confirm the permissions prompt. The FoxyProxy icon appears in your browser toolbar.

Configuring FoxyProxy

After installing the extension, you need to add a proxy entry that points to the local mitmproxy instance.
1

Open FoxyProxy options

Click the FoxyProxy icon in your browser toolbar, then click Options (or Manage) to open the settings page.
2

Add a new proxy

Click Add New Proxy (Firefox) or Add (Chrome).
3

Set the host and port

Fill in the proxy details:
FieldValue
Host or IP Address127.0.0.1
Port8000
Proxy TypeHTTP
You can optionally set a Title such as AI Leaks Tweaker to identify the entry in the list.
4

Save the proxy entry

Click Save to store the configuration.
Port 8000 is the default port used by the AI Leaks Tweaker start command (mitmdump -s proxy.py -p 8000). If you changed the port in the Start Command field on the Proxy tab, use that port here instead.

Enabling and disabling the proxy

Once configured, you control the proxy from the FoxyProxy toolbar icon without touching the options page.
1

Enable the proxy

Click the FoxyProxy icon in the toolbar. Select the AI Leaks Tweaker entry (or whichever title you gave the proxy). FoxyProxy will now route all browser requests through 127.0.0.1:8000.
2

Verify the proxy is working

Make sure the AI Leaks Tweaker proxy is running (the Proxy tab should show Stop Proxy). Navigate to any HTTPS page. If the CA certificate is installed correctly, the page loads normally and the proxy log shows the intercepted requests.
3

Disable the proxy

Click the FoxyProxy icon again and select Disable FoxyProxy (or Direct). Your browser returns to its normal network path immediately.
Enable FoxyProxy only while actively testing flags. Leaving all browser traffic routed through mitmproxy can slow down browsing and may cause issues on sites that detect proxy usage.

Troubleshooting FoxyProxy

If HTTPS pages fail to load with a certificate error after enabling FoxyProxy, the mitmproxy CA certificate has not been installed in your browser’s or OS’s certificate store. See the CA certificate section in the proxy setup guide for instructions on installing the certificate. If pages time out or refuse to connect, confirm that:
  1. The AI Leaks Tweaker proxy is running — check the Proxy tab in the application.
  2. The host and port in FoxyProxy match the start command (default 127.0.0.1 and 8000).
  3. No firewall or security software is blocking connections to 127.0.0.1:8000.

Build docs developers (and LLMs) love