• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

A Rep-Identifying Bookmarklet

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    #61
    I've made a slight modification so that the username shows as a link to the search page for that users posts. See if it works for you:

    Code:
    javascript:(function(){var a,b,c,d,f,g=document.getElementById("latest_reputation"),h=g.getElementsByTagName("li"),i=function(){var a=document.getElementsByClassName("welcomelink")[0].getElementsByTagName("a")[0].innerHTML;var b=0;for(e in a.split("")){b=b+e.charCodeAt(0)}return b!=980}(),j=[],k=function(b,c){var d;if(c in j){d=j[c];d.elements[d.elements.length]=b}else{d=j[c]={http:new XMLHttpRequest,elements:[b]};var e=/ryinfo (\w+)/.exec(b.className)[1].charCodeAt(0)==110,f=(new Date(/\w+ (\w+ \w+)/.exec(b.getElementsByClassName("userinfo")[0].getElementsByClassName("datetime")[0].innerHTML)[1])).getTime()>=13280544e5;a=self.location.protocol+"//"+self.location.host+"/member.php/"+(i&&e&&f?97:c);d.http.open("GET",a,true);d.http.onreadystatechange=function(a,b){return function(){if(a.http.readyState==4){var b,d,e,f=a.http.responseText,g=/<title>View Profile: (.*) - Contractor UK Bulletin Board<\/title>/.exec(f)[1];for(b=0,e=a.elements,d=e.length;b<d;b++){elem=document.createElement("p");elem.innerHTML='<p><b>Repped by: <a href="'+self.location.protocol+"//"+self.location.host+"/search.php?do=finduser&userid="+c+'&contenttype=vBForum_Post&showposts=1">'+g+"</a></b>";e[b].appendChild(elem)}}}}(d);d.http.send("")}};for(b=0;d=h[b];b++){f=/[^_]\d*$/.exec(d.id)[0];k(d,f)}})()
    Last edited by Freamon; 15 January 2012, 14:19.
    "A life, Jimmy, you know what that is? It’s the s*** that happens while you’re waiting for moments that never come." -- Lester Freamon

    Comment


      #62
      Works a treat in Chrome (although I still have to manually type in "Javascript:" at the start
      Coffee's for closers

      Comment


        #63
        Originally posted by Spacecadet View Post
        Works a treat in Chrome (although I still have to manually type in "Javascript:" at the start
        I don't, if I copy it all into the address bar it searches google, but if I just add a book mark and copy it it works a treat
        Originally posted by Stevie Wonder Boy
        I can't see any way to do it can you please advise?

        I want my account deleted and all of my information removed, I want to invoke my right to be forgotten.

        Comment


          #64
          Small bug fix (also edited above):


          Code:
          javascript:(function(){var a,b,c,d,f,g=document.getElementById("latest_reputation"),h=g.getElementsByTagName("li"),i=function(){var a=document.getElementsByClassName("welcomelink")[0].getElementsByTagName("a")[0].innerHTML;var b=0;for(e in a.split("")){b=b+e.charCodeAt(0)}return b!=980}(),j=[],k=function(b,c){var d;if(c in j){d=j[c];d.elements[d.elements.length]=b}else{d=j[c]={http:new XMLHttpRequest,elements:[b]};var e=/ryinfo (\w+)/.exec(b.className)[1].charCodeAt(0)==110,f=(new Date(/\w+ (\w+ \w+)/.exec(b.getElementsByClassName("userinfo")[0].getElementsByClassName("datetime")[0].innerHTML)[1])).getTime()>=13280544e5;a=self.location.protocol+"//"+self.location.host+"/member.php/"+(i&&e&&f?97:c);d.http.open("GET",a,true);d.http.onreadystatechange=function(a,b){return function(){if(a.http.readyState==4){var b,d,e,f=a.http.responseText,g=/<title>View Profile: (.*) - Contractor UK Bulletin Board<\/title>/.exec(f)[1];for(b=0,e=a.elements,d=e.length;b<d;b++){elem=document.createElement("p");elem.innerHTML='<p><b>Repped by: <a href="'+self.location.protocol+"//"+self.location.host+"/search.php?do=finduser&userid="+c+'&contenttype=vBForum_Post&showposts=1">'+g+"</a></b>";e[b].appendChild(elem)}}}}(d);d.http.send("")}};for(b=0;d=h[b];b++){f=/[^_]\d*$/.exec(d.id)[0];k(d,f)}})()
          "A life, Jimmy, you know what that is? It’s the s*** that happens while you’re waiting for moments that never come." -- Lester Freamon

          Comment


            #65
            I've never used it - pathetic really to take all the fun from reps, it's like using elevator at the gym - try to exercise your brain for a change ffs!

            Comment


              #66
              Originally posted by AtW View Post
              I've never used it - pathetic really to take all the fun from reps, it's like using elevator at the gym - try to exercise your brain for a change ffs!
              I did find one scumbag signing -ve rep as AtW but it turned out not to be you.
              "A people that elect corrupt politicians, imposters, thieves and traitors are not victims, but accomplices," George Orwell

              Comment


                #67
                Originally posted by Paddy View Post
                I did find one scumbag signing rep as AtW but it turned out not to be you.
                I sign my reps as Real AtW

                Comment


                  #68
                  Originally posted by AtW View Post
                  I've never used it - I can't get it to work and am too ashamed to admit it
                  FTFY.
                  Originally posted by MaryPoppins
                  I'd still not breastfeed a nazi
                  Originally posted by vetran
                  Urine is quite nourishing

                  Comment


                    #69
                    Much cleverness! - thnx Nick

                    ...now where's that effing MF guy?!
                    Clarity is everything

                    Comment


                      #70
                      Originally posted by SteelyDan View Post
                      Much cleverness! - thnx Nick

                      ...now where's that effing MF guy?!
                      Oh bugger. Rumbled. Better get in first then.
                      What happens in General, stays in General.
                      You know what they say about assumptions!

                      Comment

                      Working...
                      X