Commits

Kenneth Love committed c19ba2a

now navigates comments as well, providing a simple highlight

Comments (0)

Files changed (3)

forrst fire.safariextension/Info.plist

 	<key>CFBundleInfoDictionaryVersion</key>
 	<string>6.0</string>
 	<key>CFBundleShortVersionString</key>
-	<string>1.2.2</string>
+	<string>1.3</string>
 	<key>CFBundleVersion</key>
-	<string>1.2.2</string>
+	<string>1.3</string>
 	<key>Chrome</key>
 	<dict/>
 	<key>Content</key>

forrst fire.safariextension/fire.js

         reevaluate: true,
         circular: false
     });
+
     add_new_content();
+
+    $('.comment').jknav(highlight_comment, 'default');
 });
 
+function highlight_comment(item) {
+    var $item = $(item);
+    $('.comment').css({
+        background: 'transparent',
+        padding: 0
+    }).find('.body').css('width', 601);
+    $item.css({
+        background: 'url(http://forrst.com/assets/images/layout/posts/post_stripe.png?1288622614) repeat-y 0% 0%',
+        padding: 10
+    }).find('.body').css('width', 581);
+}
+
 function add_new_content() {
     $('div.activity:not(.jknav)').jknav().addClass('jknav');
     window.setTimeout(add_new_content, 1000);

forrst-fire.safariextz

Binary file modified.