title: jquery script to monitor disqus comment addition?
body: <p>I would like to write a small script to monitor the disqus comments added on a page and fire some notification callbacks whenever new comments are added.</p>
  
  <p>The simplest way for me to do it would be to periodically monitor the contents of the <strong>#dsq-comments</strong> div and trigger the callback whenever its html content changes.</p>
  
  <p>While this will work, i'am wondering if there are any cleaner methods out there ?.</p>
  
  <hr>
  
  <p><strong>Edit :</strong> As suggested by @Pekka i implemented the onNewComment callback on my <a href="http://www.kettik.com/go/asia/china/zhejiang/hangzhou/photos/92" rel="nofollow">page</a> and it works beautifully. This was one of my major concerns about integrating Disqus to my <a href="http://www.kettik.com" rel="nofollow">site</a> and now i have a workable solution.</p>
  
  <pre><code>function disqus_config() {
    this.callbacks.onNewComment = [function() {
         $.get("/notifications/newcomment?...", function(data) {
         });
    }];
  }
  </code></pre>