title: Javascript replace text function
body: <p>This is my javascript for replacing some text:</p>
  
  <pre><code>document.body.innerHTML = document.body.innerHTML.replace(/Sometext/g, 'difference');    
  </code></pre>
  
  <p>Ho do I change color, font-size, font and such?</p>
  
  <p>I need to link my script like this, can't use { otherwise:</p>
  
  <pre><code>&lt;script&gt;$(document).ready($.getScript("url"));&lt;/script&gt;   
  </code></pre>
  
  <p>I though something like this would work:</p>
  
  <pre><code>window.onload = function() {
  document.body.innerHTML =
          document.body.innerHTML.replace(/Deckling/g, result);
  }
  
  var str = "The Liberator";
  var result =     str.fontcolor("Red").italics().fontsize(6);
  result.style.fontFamily = "Harrington"; 
  </code></pre>
  
  <p>Any help? (first post and very limited Knowledge)</p>