daily pastebin goal

Hiding Trolls

a guest Nov 13th, 2014 141 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. First, you'll need to install a neat little addon called Stylish
  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
  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.
  8. Ex/ .comment-author-progressicat > div > .comment-body {display:none!important}
  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:
  17. @namespace url(http://www.w3.org/1999/xhtml);
  18. @-moz-document domain("coloradopols.com") {
  20. .comment-author-moderatus > div > .comment-body {display:none!important}
  21. .comment-author-andrew-carnegie > div > .comment-body {display:none!important}
  22. }
  24. (make sure to get that last curly brace!)
  25. Click Save
  26. All set!
  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
  35. .comment-author-moderatus > div > .comment-body {display:none!important}
  36. .comment-author-andrew-carnegie > div > .comment-body {display:none!important}
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand