Removing part of code from JS
<p>I get the script content and in it i have sometimes this:</p>

<pre><code>if(!plugin) {
  if((navigator.userAgent &amp;&amp; navigator.userAgent.indexOf("MSIE")&gt;=0)&amp;&amp;((navigator.userAgent.indexOf("Windows 95")&gt;=0)||(navigator.userAgent.indexOf("Windows 98")&gt;=0)||(navigator.userAgent.indexOf("Windows NT")&gt;=0))) {

  }
}
</code></pre>

<p>So, I want to remove this <code>if(!plugin)</code> and everything inside this <code>if</code> and than to append my new script. Is it possible?</p>
