Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Do Not Feed the Trolls!!!

by shmem (Chancellor)
on Dec 21, 2007 at 21:45 UTC ( [id://658548]=note: print w/replies, xml ) Need Help??


in reply to Do Not Feed the Trolls!!!

To hide the troll everywhere:
[class$="<userid>"], [class$="<userid>"] *, [class$="<userid>"] :link +, [class$="<userid>"] :visited, a[href$="=<userid>"] { display: non +e; }

This css rule occasionaly hides responses to the troll, too (e.g. in Recently Active Threads).

update: to mark troll posts as such in threads

[class$="<userid>"], [class$="<userid>"] *, [class$="<userid>"] :link +, [class$="<userid>"] :visited { display: none; } a[href$="=<userid>"]:before { content: "a Troll: "; }
I can't get rid of the troll post header with css, because there's no way to select a parent node matching a child.

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}

Replies are listed 'Best First'.
Re^2: Do Not Feed the Trolls!!!
by FunkyMonk (Chancellor) on Dec 21, 2007 at 23:20 UTC
    This css rule occasionaly hides responses to the troll, too
    It's a loss I'm prepared to live with. Any topic s?he participates in loses any worth it had :(

    It will just do mechanically what I've been doing manually.

      Any topic s?he participates in loses any worth it had
      No - just the part starting with the troll's answer (i.e taking the troll post as root). The rest is OK and not affected.
Re^2: Do Not Feed the Trolls!!!
by CountZero (Bishop) on Dec 22, 2007 at 20:48 UTC
    And calmness and peace descended once more upon the Monastery and the Monks rejoiced mightily and saw that it was good!

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://658548]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-03-29 00:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found