Advertisement
Guest User

Hiding Trolls

a guest
Nov 13th, 2014
303
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.90 KB | None | 0 0
  1. First, you'll need to install a neat little addon called Stylish
  2.  
  3. For Firefox: https://addons.mozilla.org/en-US/firefox/addon/stylish/
  4. For Chrome: https://chrome.google.com/webstore/detail/stylish/fjnbnpbmkenffdnngjfgmeleoegfcffe?hl=en
  5.  
  6. Once that's installed, you'll need to add the CSS (Cascading Style Sheet) code to block our favorite trolls. Please note, you can add additional users by copying one of the .comment-author-whatever lines and changing the name to the name of the commenter to block.
  7.  
  8. Ex/ .comment-author-progressicat > div > .comment-body {display:none!important}
  9.  
  10. Firefox:
  11. Go the Tools menu and choose Add-ons
  12. On the left side, you will see and option for User Styles with the Stylish "S" logo, click this
  13. Click the Write New Style button
  14. I used the name "NoPolsTrolls", but it doesn't matter what name you give the style
  15. Paste the following in the window below the Insert button:
  16.  
  17. @namespace url(http://www.w3.org/1999/xhtml);
  18. @-moz-document domain("coloradopols.com") {
  19.  
  20. .comment-author-moderatus > div > .comment-body {display:none!important}
  21. .comment-author-andrew-carnegie > div > .comment-body {display:none!important}
  22. }
  23.  
  24. (make sure to get that last curly brace!)
  25. Click Save
  26. All set!
  27.  
  28. Chrome:
  29. Click the customize button (3 horizontal lines in the upper right corner) abd choose More Tools then Extensions
  30. Under the Stylish extension, click on Options
  31. Click the Write New Style button
  32. I used the name "NoPolsTrolls", but it doesn't matter what name you give the style
  33. Paste the following in the Code window
  34.  
  35. .comment-author-moderatus > div > .comment-body {display:none!important}
  36. .comment-author-andrew-carnegie > div > .comment-body {display:none!important}
  37.  
  38. Click the Specify button
  39. Choose URLs on the domain from the list that appears
  40. Type coloradopols.com in the box just to the right
  41. Click the Save button (up on the left)
  42. Close the editing tab and the Extensions tab
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement