<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -49,8 +49,6 @@ function getDirections(direction){
       set = [ &quot;up&quot;, &quot;down&quot;, &quot;none&quot;, &quot;hide&quot; ];
     } else if ( /news.ycombinator.com/.test( location ) ) {
       set = [ &quot;up&quot; ];
-    } else if ( /digg.com/.test( location ) ) {
-      set = [ &quot;up&quot;, &quot;down&quot;, &quot;fave&quot;, &quot;bury&quot; ];
     }
   } else {
     set = [ &quot;up&quot; ];
@@ -78,13 +76,6 @@ function redditFilter(direction){
   })[direction];
 }
 
-function diggFilter(direction){
-  return ({
-    &quot;down&quot;: &quot;img[src*=bury.png]&quot;,
-    &quot;up&quot;: &quot;img[src*=digg.png]&quot;
-  })[direction];
-}
-
 CmdUtils.CreateCommand({
   name: &quot;vote&quot;,
   takes: {
@@ -147,44 +138,6 @@ CmdUtils.CreateCommand({
         script.appendChild( context.focusedWindow.document.createTextNode( &quot;vote(document.getElementById('&quot; + this.id + &quot;'));&quot; ) );
         this.appendChild( script );
       });
-
-    } else if ( /digg.com/.test( location ) ) {
-      links = jQuery( &quot;div.news-body h3&quot;, context.focusedWindow.document ).filter(function(){
-        return match.test( this.textContent );
-      });
-
-      if ( direction == &quot;up&quot; ) {
-        links.parent().next().find(&quot;li.digg-it a&quot;).each(function(){
-          var script = context.focusedWindow.document.createElement(&quot;script&quot;);
-          script.appendChild( context.focusedWindow.document.createTextNode( this.getAttribute(&quot;href&quot;) ) );
-          this.appendChild( script );
-        });
-      } else if ( direction == &quot;fave&quot; ) {
-        links.next().next().find(&quot;a.fave:visible&quot;).each(function(){
-          var script = context.focusedWindow.document.createElement(&quot;script&quot;);
-          script.appendChild( context.focusedWindow.document.createTextNode( this.getAttribute(&quot;onclick&quot;).replace(/return /, &quot;&quot;) ) );
-          this.appendChild( script );
-        });
-      } else if ( direction == &quot;bury&quot; ) {
-        links.next().next().find(&quot;a.bury-link:visible&quot;).each(function(){
-          var script = context.focusedWindow.document.createElement(&quot;script&quot;);
-          script.appendChild( context.focusedWindow.document.createTextNode( this.getAttribute(&quot;href&quot;) ) );
-          this.appendChild( script );
-        });
-      }
-
-      if ( direction == &quot;up&quot; || direction == &quot;down&quot; ) {
-        var comments = jQuery( &quot;div.c-body&quot;, context.focusedWindow.document ).each(function(){
-          var author = jQuery(this).prev().find(&quot;strong&quot;);
-          if ( author.length &amp;&amp; match.test( author[0].textContent + &quot;: &quot; + this.textContent ) ) {
-            var img = jQuery(this).prev().prev().find(diggFilter(direction));
-            var script = context.focusedWindow.document.createElement(&quot;script&quot;);
-            script.appendChild( context.focusedWindow.document.createTextNode( 
-              &quot;jQuery('#&quot; + img[0].id + &quot;').click();&quot; ) );
-            this.appendChild( script );
-          }
-        });
-      }
     }
   },
 
@@ -226,29 +179,6 @@ CmdUtils.CreateCommand({
       });
 
       links = links.add( comments );
-
-    } else if ( /digg.com/.test( location ) ) {
-      links = jQuery( &quot;div.news-body h3&quot;, context.focusedWindow.document ).filter(function(){
-        return match.test( this.textContent ) &amp;&amp;
-          direction != &quot;down&quot; &amp;&amp;
-         ((direction == &quot;up&quot; &amp;&amp; jQuery(this).parent().next(&quot;:has(li.digg-it a)&quot;).length) ||
-          (direction == &quot;bury&quot; &amp;&amp; jQuery(this).next().next(&quot;:has(div.bury)&quot;).length) ||
-          (direction == &quot;fave&quot; &amp;&amp; jQuery(this).next().next(&quot;:has(a.fave:visible)&quot;).length));
-      });
-
-      var comments = jQuery( &quot;div.c-body&quot;, context.focusedWindow.document ).map(function(){
-        var author = jQuery(this).prev().find(&quot;strong&quot;);
-        author = author.length ? author[0].textContent : &quot;&quot;;
-        var comment = author + &quot;: &quot; + this.textContent
-
-        if ( author &amp;&amp; match.test( comment ) &amp;&amp;
-          (direction == &quot;up&quot; || direction == &quot;down&quot;) &amp;&amp;
-          jQuery(this).prev().prev().find(diggFilter(direction)).length ) {
-            return comment;
-        }
-      });
-
-      links = links.add( comments );
     }
 
     if ( links &amp;&amp; links.length ) {</diff>
      <filename>vote.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>5870e12a11b6e293f32a8fc386f69e9184813320</id>
    </parent>
  </parents>
  <author>
    <name>John Resig</name>
    <email>jeresig@gmail.com</email>
  </author>
  <url>http://github.com/jeresig/vote/commit/b21d468a143bfd3119527dad6d35761a01560ae4</url>
  <id>b21d468a143bfd3119527dad6d35761a01560ae4</id>
  <committed-date>2008-09-04T12:36:58-07:00</committed-date>
  <authored-date>2008-09-04T12:36:58-07:00</authored-date>
  <message>Had to remove Digg support - it violates the TOS. Sorry guys, didn't realize that :-(</message>
  <tree>12de6f8d3e7d661a29d924e6ed25a4d641af09e6</tree>
  <committer>
    <name>John Resig</name>
    <email>jeresig@gmail.com</email>
  </committer>
</commit>
