title: Double and triple button is shown (DOMNodeInserted)
body: <p>I have a weird problem:</p>
  
  <p>I am developing a chrome extension that adds a custom button beside the "like" button in facebook. Until now, with alot of help I found a way to run the script even when posts are added to the news feed (without a page refresh). But the problem is that in the timline/ ticker (live feed window in the right) the button duplicates itself over time.</p>
  
  <p>My current script:</p>
  
  <pre><code>$(document).ready(function(){
      $(".like_link,.cmnt_like_link").after(
          '&lt;span class="dot"&gt; · &lt;/span&gt;' +
          '&lt;button class="taheles_link stat_elem as_link" title="תגיד תכל&amp;acute;ס" type="submit" name="taheles" onclick="apply_taheles()" data-ft="{&amp;quot;tn&amp;quot;:&amp;quot;&amp;gt;&amp;quot;,&amp;quot;type&amp;quot;:22}"&gt;' +
              '&lt;span class="taheles_default_message"&gt;תכל&amp;acute;ס&lt;/span&gt;&lt;span class="taheles_saving_message"&gt;לא תכלס&lt;/span&gt;' +
          '&lt;/button&gt;'
      );
  
      $(".taheles_saving_message").hide();
  
      $(document).bind('DOMNodeInserted', function(event) {
          $(event.target).find(".like_link,.cmnt_like_link").after(
              '&lt;span class="dot"&gt; · &lt;/span&gt;' +
              '&lt;button class="taheles_link stat_elem as_link" title="תגיד תכל&amp;acute;ס" type="submit" name="taheles" onclick="apply_taheles()" data-ft="{&amp;quot;tn&amp;quot;:&amp;quot;&amp;gt;&amp;quot;,&amp;quot;type&amp;quot;:22}"&gt;' +
                  '&lt;span class="taheles_default_message"&gt;תכל&amp;acute;ס&lt;/span&gt;&lt;span class="taheles_saving_message"&gt;לא תכלס&lt;/span&gt;' +
              '&lt;/button&gt;'
          );
          $(event.target).find(".taheles_saving_message").hide();
      });
  });
  </code></pre>
  
  <p><code>like_link</code> is the button that is shown in posts/comments in the news feed/any other place. <code>cmnt_like_link</code> is the button that is shown in comments.</p>
  
  <p>If I use <code>#contentArea</code> in the selectors, the custom button is not even added to the ticker. If I use <code>document</code> (current) it is shown in the ticker but duplicates itself. I am wondering what the problem is. I tried to look at the chrome developer panel but with no luck.</p>