Skip to content

Instantly share code, notes, and snippets.

@leafnode
Created July 1, 2010 08:59
Show Gist options
  • Save leafnode/459746 to your computer and use it in GitHub Desktop.
Save leafnode/459746 to your computer and use it in GitHub Desktop.
diff --git a/blipalacz.user.js b/blipalacz.user.js
index e781177..fba42b1 100644
--- a/blipalacz.user.js
+++ b/blipalacz.user.js
@@ -775,6 +775,19 @@ function Dopal() {
}
}
} else {
+
+ jQuery('span.respond').each(function(e, v){
+ ob = $(v);
+ nicks = ob.parent().parent().find('span.nick');
+ for(i=0; i<nicks.length; i++) {
+ a = jQuery(nicks[i]).find('a');
+ if (a.length == 2) {
+ nick = a.eq(1).text();
+ body = "<a onclick=\"window.BLIP.dashboardInput.respondTo('"+nick+"',false);; return false;\" href=\"#\" class=\"respond\">kontynuuj</a>";
+ ob.replaceWith(body);
+ }
+ }
+ });
if(linkinotice == 1) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment