title: How to disable Glimpse on a root iFrame document in MVC4
body: <p>I'm attempting to use Glimpse with a site that uses iFrames, and the main layout file is like this:</p>
  
  <pre><code>&lt;body&gt;
   &lt;iframe id="mainFrame" width="100%" src="/home/welcome"&gt;
      @RenderBody()
   &lt;/iframe&gt;
   &lt;iframe id="sidebar" class="ui-layout-west" src ="/sidebar"&gt;&lt;/iframe&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>So Glimpse will load for the main document, then load into both of the iFrames, and the mainFrame Glimpse UI sits on top of the main document Glimpse UI.</p>
  
  <p>I've tried a couple variations of</p>
  
  <blockquote>
  <pre><code>&lt;runtimePolicies&gt;
      &lt;uris&gt;
          &lt;add regex="\/"/&gt;
      &lt;/uris&gt;
  &lt;/runtimePolicies&gt;
  </code></pre>
  </blockquote>
  
  <p>But anything that catches the main document seems to catch all of the requests.
  Any idea how to disable the UI for just the / request?</p>