title: Removing or replacing a stylesheet (a <link>) with JavaScript/jQuery
body: <p>How can I do this?</p>
  
  <p>I tried</p>
  
  
  
  <pre class="lang-js prettyprint-override"><code>$('link[title="mystyle"]').remove();
  </code></pre>
  
  <p>and although the element is removed, the styles are still applied to the current page (in both Opera and Firefox).</p>
  
  <p>Is there any other way?</p>