<< Back to Programming Forum   Search

Posts 1 - 20 of 44   1  2  3  Next >>   
Dan's Userscript (Hide Threads and Replies by Poster): 12/7/2016 23:25:22


DanWL 
Level 63
Report
Installation

You don't need admin permissions or need to pay anything to install this.

What you need


Afterwards the script can be installed at https://greasyfork.org/en/scripts/25447-hide-threads-and-replies-by-poster.

Current public version: 1.8.3.3. See change history at https://greasyfork.org/en/scripts/25447-hide-threads-and-replies-by-poster/versions.

Features

  • Hides threads by poster (with thread exceptions).
  • Hides threads and replies by players have have a blank name.
  • Hides blank posts.
  • Hides all-caps threads (they would be deleted anyway).
  • Ability to hide Map Of The Week threads.
  • Creates jump to non-spam links when there's forum spam (subject to if I'm active).
  • Makes invisible player names become visible.
  • Makes invisible subjects become visible.
  • Makes invisible links globally become visible.
  • Ability to replace the word 'blacklist' with 'Personal Dungeon'.

Currently working on

  • Bug fixes and slight perfections.

Instructions

How to say who's threads and replies should or should no longer be hidden
(This is saved in your local storage.)
Go to a sub-forum or the view all forum posts or mail or clan forum and click the Hide or Unhide buttons or click on the Dan's Userscript button in the top right > OK > OK > *change player names* > OK.

How to set, modify and remove thread exceptions
(This is saved in your local storage.)
Go to a sub-forum or the view all forum posts or mail or clan forum and click the Add or Remove buttons.

How to view which players threads and replies get hidden
See http://makeagif.com/tXsNp7.
Description:

  • Click on the ▼.
  • Click on Dan's Userscript.
  • An alert message then appears displaying the names of the players that threads and replies are getting hidden by.


How to hide / no longer hide Map Of The Week threads
(Your MOTW preference is saved in your local storage.)
When you first visit a page, you are notified if you want to hide or not hide MOTW threads.

  • Click on the ▼ in the top right bar that displays your name, level, coins etc.
  • Click on Dan's Userscript.
  • Press OK.
  • Press OK to change your MOTW preference, cancel to not change it.
  • Type yes to hide MOTW threads; no to no longer hide them.
  • Click OK.


How to not show / show longer hide blank posts dialogue
When you load a thread and there is a blank posts, you get informed how much blank posts have been hidden...
(This preference is saved in your local storage.)
When you first visit a page, you are notified if you want to show or not show the blank posts dialogue.

  • Click on the ▼ in the top right bar that displays your name, level, coins etc.
  • Click on Dan's Userscript.
  • Press OK.
  • Press Cancel.
  • Press OK to change your blank posts dialogue preference, cancel to not change it.
  • Type yes to hide the blank posts dialogue; no to show it.
  • Click OK.


How to replace or not replace the word 'blacklist' with 'Personal Dungeon'.

  • Click on the ▼ in the top right bar that displays your name, level, coins etc.
  • Click on Dan's Userscript.
  • Press OK.
  • Press Cancel.
  • Press Cancel.
  • Press OK.
  • Press OK.

Note
You can choose to show and hide the threads and replies at any point. See the button that is to the left of the posts x - z of x text that is located near the bottom of the All Forum Posts page / Clan forum / Mail / threads etc.

When there is spam, there will be a jump to non-spam threads link. These links will be disabled when the spam threads are deleted. Also, Map Of The Week threads aren't hidden by default. Threads are hidden by players that have blank name (that player is like to be a spammer).

CLEARING YOUR LOCAL STORAGE WILL REMOVE ALL REQUIRED SAVED DATA.

DO NOT EDIT THE SOURCE CODE AS YOU MAY PREVENT FEATURES FROM WORKING!

I (DanWL) DO NOT WHAT THIS SCRIPT ('Hide Threads and Replies by Poster') TO BE REDISTRIBUTED ELSEWHERE ON THE INTERNET OR ANYWHERE ELSE UNLESS MY PERMISSION IS OBTAINED AND THAT YOU ARE GRANTED PERMISSION TO DO SO.


Edited 3/13/2017 12:29:49
Dan's Userscript (Hide Threads and Replies by Poster): 12/8/2016 08:11:54


Sherlock Holmes
Level 55
Report
I use ignore option mostly, but this is very useful :)
Hope it will remove the spam attacks, if it is going to happen again :)
Dan's Userscript (Hide Threads and Replies by Poster): 12/8/2016 09:55:17


DanWL 
Level 63
Report
It would be a much higher file size if I made it filter out spam. Thanks for feedback :)
Dan's Userscript (Hide Threads and Replies by Poster): 12/8/2016 17:50:44


DanWL 
Level 63
Report
Going to update this in 6 hours from now. Updates will replace the list of players that you want to hide posts by, so you might want to make a copy of them and add them in after the update has happened.

Updates:

  • Ability to hide posts for up to 30 players.
  • Written the code a bit more efficiently.
  • Bug fixes.
  • Added support for Mail.
  • Added support for Clan Forum.


Edited 12/8/2016 23:50:18
Dan's Userscript (Hide Threads and Replies by Poster): 12/10/2016 18:01:44


FDR
Level 47
Report
Does it block shredtail's spam?
Dan's Userscript (Hide Threads and Replies by Poster): 12/10/2016 18:05:46


DanWL 
Level 63
Report
It is possible hide his posts.

Edit: update to hide/show hidden thread button coming within 6 hours.

Edited 12/10/2016 18:06:55
Dan's Userscript (Hide Threads and Replies by Poster): 12/11/2016 23:23:55


DanWL 
Level 63
Report
Small update:

  • Tidied appearance of who's threads are being hidden.
  • Made the show/hide button's text change based on amount of threads hidden.
  • Fixed bug that cause the wrong threads to be hidden on Mail and Clan forum.
Dan's Userscript (Hide Threads and Replies by Poster): 12/17/2016 11:58:16


Belgian Gentleman
Level 57
Report
You're such a devious guy DanWales while clever at the same time. You finally developed an extension that could censor anyone's opinion or information. A typical albility preserved for mods only. When I first installed it, I was so excited to use it. I was hoping it would give the off-topic a huge cleansing. And effectively it did succeed in doing so. No more spam, no more worries, or so I thought. Immediately upon opening my mailbox, my eyes didn't foresaw my whole mailbox to be empty. Could this be... ? Yes it was. You did put my name on the list. The list where you could hide threads of any user you want, and mail threads as well. Perhaps deception drove to to your hysteria of putting my name on that censor list. A hatred so big.. I wonder if it will last any longer

But cheers. You've put an amazing effort into coding this and I'm not denying it. I feel honoured to be your source of inspiration, even one year after the Cat Attack was sent.
Dan's Userscript (Hide Threads and Replies by Poster): 12/17/2016 12:16:31


DanWL 
Level 63
Report
Thanks. I worked on this independently.
In the next update, I'll remove your name from the list. I'll also find a way to hide people's posts.
Feel free to suggest updates.
- downvoted post by Жұқтыру
Dan's Userscript (Hide Threads and Replies by Poster): 12/17/2016 18:29:57


MightySpeck (a Koala) 
Level 60
Report
what about the clan league D thread? it was made by tabby.
Dan's Userscript (Hide Threads and Replies by Poster): 12/17/2016 18:47:27

Japanball
Level 56
Report
DanWL you are epic for making this! Thank you!
Dan's Userscript (Hide Threads and Replies by Poster): 12/18/2016 08:06:31


Sherlock Holmes
Level 55
Report
what about the clan league D thread? it was made by tabby.

Sadly it is hidden.
Dan's Userscript (Hide Threads and Replies by Poster): 12/18/2016 13:54:43


DanWL 
Level 63
Report
^ Just press the show X hidden threads button. Alternatively, don't hide threads by him.
Dan's Userscript (Hide Threads and Replies by Poster): 12/20/2016 18:52:25


DanWL 
Level 63
Report
Did some updates:

  • Fixed bug that caused the Dan's Userscript text to not seen when Dark Theme isn't enabled.
  • Reduced script's size by over 53%.
  • When hidden threads are shown, they have a strike through them.


I have tried hiding posts by the people who you don't what to see threads created by, but sometimes the wrong post is hidden. As soon as I fix that, I'll allow posts to be hidden.

Edited 12/23/2016 21:52:10
Dan's Userscript (Hide Threads and Replies by Poster): 12/23/2016 21:53:56


DanWL 
Level 63
Report
On the 3rd of January, I'll release an update that'll fix these bugs:

  • Trying to hide threads even though there aren't any threads to be hidden.
  • Bottom mail / clan forum thread not being hidden if it's posted by someone who you want to hide posts by.
  • Bug fixes for the last page of the sub-forum/clan forum/mail.

New features that might be added:

  • Having thread exceptions (to prevent Clan League threads, Roleplay Clan League thread etc. from being hidden).
  • Getting threads with all-caps subjects to become hidden.
  • Hide blank posts.
  • Hide replies by the same player(s) that you don't what to see threads created by.


Edited 12/31/2016 17:41:31
Dan's Userscript (Hide Threads and Replies by Poster): 1/1/2017 00:34:01


DanWL 
Level 63
Report
Fixed the above bugs and added the new features; they'll be made public in about 40 hours from now.
Anyone want to suggest any other features that I should add or improvements that could be made?
Dan's Userscript (Hide Threads and Replies by Poster): 1/1/2017 09:15:40


#The Prussian Job-Oh yeah, baby...
Level 51
Report
So it is actually very much the same as the blacklist-button?
Dan's Userscript (Hide Threads and Replies by Poster): 1/2/2017 11:44:28


DanWL 
Level 63
Report
Updated.
Dan's Userscript (Hide Threads and Replies by Poster): 1/4/2017 20:15:07


DanWL 
Level 63
Report
Updates:

  • Unlimited number of player threads and replies get hidden.
  • Unlimited number of thread exceptions.
  • Reduced the script's size.
Posts 1 - 20 of 44   1  2  3  Next >>