• Member Since 29th Mar, 2012
  • offline last seen 6 hours ago

Veylon


More Blog Posts2

  • 130 weeks
    Odd Windows Discovery

    Did you know that Windows doesn't always run the program you tell it to run? You can double-click on an executable and some other executable might be run instead.

    Read More

    0 comments · 150 views
  • 230 weeks
    On the Banning of Other Users

    Is there a certain someone on this site who you simply have no desire to communicate with? Have you banned them already from your own account and stories but wish a way to have them extirpated from other stories and threads as well? Good new, then, for such a way exists!

    Read More

    1 comments · 448 views
Aug
24th
2015

On the Banning of Other Users · 6:00am Aug 24th, 2015

Is there a certain someone on this site who you simply have no desire to communicate with? Have you banned them already from your own account and stories but wish a way to have them extirpated from other stories and threads as well? Good new, then, for such a way exists!

Modern websites are usually made up of various <div> tags containing information that are later passed through a style sheet that tells them how they are meant to look. There is a tool by the name of Stylish that allows the altering of this method, generally for the purpose of having custom looks or skins.

Where am I going with this? Well, the option also exists to not show certain <div>s. For instance, the <div>s containing the remarks of aggravating commenters. It's actually a fairly simple three step process:

1) Get Stylish. You can get it for Chrome, Firefox, and Opera.

2) Once it's installed, there will be a little 'S' on a block of four colors up in the toolbar. Click on it and choose 'Manage Installed Styles'. Click on 'Write New Style'.

3) This will start a new style. Under 'Edit Style' in the top left there will be a text box to name it. On the right side, there will be a big box for code. Put this line into it:

div[data-author="Veylon"] {display: none !important;}

Well, replace me with someone more fitting. You know who even if I don't. You can copy this line of code over and over again if there are multiple people you don't want to hear from. In the "Applies to:" dropdown box, choose "URLs on the domain". In the text box next to it, write "www.fimfiction.net". Click "Save" over on the left and you're done. It can be reopened for changes in case your list needs to be edited.

Please note that these magical blinkers do not prevent you from seeing the various arguments that result from said commentators. That's not possible short of banning comments altogether (though that's a story for a different post).

* In the <div> blocks used on this site, the tag has several attributes (type, id number, data, etc.). What this Style does is check to see if the "data-author" attribute matches a particular you know who and, if it does, it sets it to not display at all at the important level of importance to keep some other Style from overriding it. You could have other Styles to block, highlight, indent, or whatever based on other characteristics of <div>s, both here and on other sites.

Report Veylon · 448 views · #block #code #ban #stylish
Join our Patreon to remove these adverts!
Comments ( 1 )

Huh. You know, that's surprisingly useful, thanks. I don't like stylish a lot, but it should be easy enough to rejigger this with a regex or two and put it into uBlock instead. Works only until someone changes their user name, of course.

Login or register to comment
Join our Patreon to remove these adverts!