Tech Off Thread

1 post

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

greasemonkey anyone?

Back to Forum: Tech Off
  • User profile image

    Has anyone put together any gm scripts for c9? I finally downloaded gm and put together a user filter:

    (function() {
    var divCollection= document.getElementsByTagName('DIV');
    var divAttr;
    var tableCollection;
    var userUrl;


            divAttr = divCollection[i].getAttribute('class');

     if ((divAttr!=null) && (divAttr=='replyHeadWrap')){
      tableCollection = divCollection[i].getElementsByTagName('TABLE');
       if((userUrl=='[put in user name here]')){   

    I hate referencing so many nodes by index but I was just scripting away Wink  Anywho any improvements here or any other scripts would be appreciated.

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.