You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query-continue>
    <allpages gapcontinue="Run_Your_Own_Proxy" />
  </query-continue>
  <query>
    <pages>
      <page pageid="128" ns="0" title="Restoring your browser to its original settings">
        <revisions>
          <rev contentformat="text/x-wiki" contentmodel="wikitext" xml:space="preserve">If you no longer need to use our proxy service or would like to disable the proxy in the Firefox Browser please follow the steps below:
* If your browser was configured using the FoxyProxy addon, click [[How to remove the FoxyProxy Addon |here]]

The instructions below are for browsers that were manually configured to use a proxy:
  * Step one, Go to the Firefox Settings
  * Click 'Advanced'
  * Select the 'Network' Tab
  * Click on 'Settings' under connection
  [[File: Firefox_settings.png|800px]]

  Step 2, Go to the Network settings and disable any active proxies.
  [[File: No_proxy.png]]</rev>
        </revisions>
      </page>
      <page pageid="39" ns="0" title="Rotate IPs">
        <revisions>
          <rev contentformat="text/x-wiki" contentmodel="wikitext" xml:space="preserve">==How to use a PAC file to automatically rotate IPs==
We intend to add nice GUIs to the FoxyProxy addons for these features. For now, however, you can write a PAC script to do it. We can host this file for you at https://getfoxyproxy.org. If you use our proxy services, we can provide a hosted PAC script which rotates through a pool of our hostnames/IP addresses however you like (round-robin, random, etc). Please contact us for more details.

===Round-robin rotate through X number of proxies===

====Switching for each URL requested====

 &lt;nowiki&gt;

 var proxies = [&quot;PROXY 123.123.123.123:9050&quot;, &quot;PROXY 192.168.1.3:8080&quot;,
 &quot;PROXY 108.54.23.11:6667&quot;, &quot;PROXY 106.25.84.11:6667&quot;, &quot;PROXY 143.51.88.76:6667&quot;],
  counter = -1;

 function FindProxyForURL(url, host) {
   counter++;
   if (counter == proxies.length) counter = 0;
   return proxies[counter];
 }
 &lt;/nowiki&gt;

====Switching every Y seconds====

* The &lt;code&gt;secondsToSwitchAfter&lt;/code&gt; variable controls how frequently the proxies should be rotated

 &lt;nowiki&gt; // PAC file to switch IP addresses every 3 seconds across 5 IP addresses

 var proxies = [&quot;PROXY 123.123.123.123:9050&quot;, &quot;PROXY 192.168.1.3:8080&quot;,
 &quot;PROXY 108.54.23.11:6667&quot;, &quot;PROXY 106.25.84.11:6667&quot;, &quot;PROXY 143.51.88.76:6667&quot;],
  t1 = new Date().getTime(), counter = 1;

 var secondsToSwitchAfter = 3;

 function FindProxyForURL(url, host) {
   var t2 = new Date().getTime();
   if (t2 - t1 &gt; secondsToSwitchAfter * 1000)
     counter++;
   t1 = t2;
   return proxies[counter % proxies.length];
 }
 &lt;/nowiki&gt;

===Random selection===
This PAC script randomly selects a proxy from a list. A proxy is randomly selected for each URL request.

 &lt;nowiki&gt;

 var proxies = [&quot;PROXY 123.123.123.123:9050&quot;, &quot;PROXY 192.168.1.3:8080&quot;,
 &quot;PROXY 108.54.23.11:6667&quot;, &quot;PROXY 106.25.84.11:6667&quot;, &quot;PROXY 143.51.88.76:6667&quot;];

 function FindProxyForURL(url, host) {
   return proxies[getRandomInt(0, proxies.length)];
 }

 function getRandomInt(firstIndex, lastIndex) {
   // Inclusive
   // Thanks, http://www.shawnolson.net/a/789/make_javascript_mathrandom_useful.html
   return firstIndex + (Math.floor((lastIndex - firstIndex + 1) * Math.random()))
 }
 &lt;/nowiki&gt;</rev>
        </revisions>
      </page>
    </pages>
  </query>
</api>