title: Changing the HTML in a WebBrowser before it is displayed to the user?
body: <p>I'm using a WebBrowser Control and I'd like to manipulate the HTML Code before it gets displayed in the Control.</p>
  
  <p>For example open Website A with following content:</p>
  
  <pre><code>&lt;html&gt;
    &lt;body&gt;
      &lt;p id="Text"&gt;Hello&lt;/p&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I would like to change it to</p>
  
  <pre><code>&lt;html&gt;
    &lt;body&gt;
      &lt;p id="Text"&gt;Bye&lt;/p&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I know I could do that with DocumentCompleted event and then manipulate it. But if the Website executes JavaScript stuff which gets executed on Document ready event, it wouldn't make sense to change it, because it has already been executed.</p>