title: Injected JS not posting to the database at all
body: <p>I've been working around with this script for the past few days, as I want to save all the pots won at this website <a href="http://csblitz.com" rel="nofollow">csblitz.com</a>.</p>
  
  <p>I can't seem to find the error.</p>
  
  <p>I get no console errors, I targeted different things, the div where the last winner is shown and the message that pops up after the winner is chosen</p>
  
  <pre><code>//csblitz
  function commaSeparateNumber(val){
      while (/(\d+)(\d{3})/.test(val.toString())){
          val = val.toString().replace(/(\d+)(\d{3})/, '$1'+'.'+'$2');
      }
      return val;
  }
  var counter = 0;
  $(document).bind('DOMNodeInserted', function(event) { 
      var elem =  $(event.target).find("div.round-last-winner.ng-binding.ng-scope");
      var text = elem.text().trim();
      if(text.length &gt; 0){ 
          var firstIndex = text.lastIndexOf("$")+1; 
          text = text.substring(firstIndex, text.length);
          $.post("https://mywebsite.net/api/stats?sourceid=0&amp;value="+text);
      }
  });
  </code></pre>
  
  <p>Can't seem to find the issue, since I have other crawlers posting correctly to the database.</p>