Coffeehouse Post

Single Post Permalink

View Thread: Suppress posts by username
  • User profile image
    El Bruno

    Loadsgood wrote:

    Maurits wrote: Here's a http://channel9.msdn.com/ShowPost.aspx?PostID=51309" target="_blank"> javascript "ignore this user" implementation


    Nice work Maurits, you saved me the time to go searching for the code myself Smiley Here's a no smileys edition without the spaces where the smiley used to be:

    code wrote:
    javascript:(function(){var l=document.getElementsByTagName('a');for (var x=l.length-1;x--Wink{if (l[x].innerHTML.indexOf('Keskos')!=-1) {var k=l[x].parentNode.parentNode.parentNode;k.style.display='none'; k=k.nextSibling;k.style.display='none';k=k.parentNode;k=k.nextSibling;k.style.display='none';k=k.nextSibling;k.style.display='none';}}})();


    Use it by replacing Keskos with the user's name and put it in your address bar everytime you visit a thread. Or you could put it in a new link in the Links bar in IE and click it on every thread, to do so just drag this into your Links bar.

    EDIT: Damn the security on C9 Mad
    EDIT2: Drag the link from above into your links bar and replace http://channel9.msdn.com/ with javascript: and don't forget to replace the keskos bit with the offender's username.

    Thanks the stars for the "No smilies for this post option Smiley"
    Loadsgood.



    mmm ... i don't think that's a good idea ... I'll wait for a new C9 feature to do this ...

    btw, nice javascript function !! Wink

    Bye from Spain