<< Back to Programming Forum   Search

Posts 1 - 20 of 20   
Hide Threads & Replies by Poster Official (3): 3/14/2018 21:44:30


DanWL 
Level 63
Report
Link to previous thread: https://www.warzone.com/Forum/285471-hide-threads-replies-poster-official-2.
You don't need admin permissions or need to pay anything to install this.

Install link: https://greasyfork.org/en/scripts/29925-hide-threads-and-replies-by-poster.
Current public version: 2.3.0.11.

For all major browsers you need Tampermonkey (https://tampermonkey.net/) to be installed.

Features:

  • Hides threads and replies by poster ids (the poster's names' and ids are available in the Block List).
  • Ability to not hide threads even if you're hiding threads by the player that made the thread (these are known as Thread Exceptions).
  • Ability to hide off-topic threads on the all forum posts page.
  • Ability to hide individual threads (including Map Of The Week threads).
  • Hides threads and replies by players have have a blank name by default.
  • Hides blank posts.
  • Hides all-caps threads (they would be deleted anyway).
  • 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 thread/mail subjects become visible.
  • Makes invisible links globally become visible.


Feel free to suggest features.
If you encounter a bug, let me know so that I can fix it.

Edited 5/20/2018 17:19:59
Hide Threads & Replies by Poster Official (3): 3/14/2018 21:46:22


DanWL 
Level 63
Report
2.3.0.0 changes:

  • Threads and replies are now hidden by player id and [blank name] instead of by player name - player data for different forum categories and mail may be up to a month out of date.
  • Improved the usability and layout of the settings UI.
  • Supported adding and removing multiple players to and from the Blocklist.
  • Added helpers to convert player links and names to player ids.
  • Made it possible to add and remove multiple threads.
  • Added ability to add players to the Blocklist using your Blacklist.
  • Added ability to add or remove players from your Blocklist on player profiles.
  • Make it possible to only hide threads or replies or hide both.
  • Made it possible to add or remove threads to or from Thread Exceptions and Hidden Threads on threads.
  • Player names and ids are suggested when adding players using player names or player ids.
  • Enter OKs and closes the active popup.
  • Fixed bug that allowed multiple values for already entered player ids and thread subjects to be entered.
  • Fixed bug that caused [ and ] to not get matched correctly.
  • Fixed bugs that would prevent player data from being converted while still getting player data.
  • Fixed bug that caused removing duplicated saved data to not always work correctly.
Hide Threads & Replies by Poster Official (3): 3/14/2018 21:47:24


DanWL 
Level 63
Report
When updating to 2.3.0.0 settings, don't refresh the page as error messages will appear.
Hide Threads & Replies by Poster Official (3): 3/15/2018 23:38:43


DanWL 
Level 63
Report
2.3.0.1 changes:

  • Made pressing enter work normally.
  • It's now possible to modify and access the script's settings in your browser's console by entering any of these commands:
    Modify - params marked <> are optional:
    configDan.blocklist.addUsing.links(<['item1', 'item2', 'etc.']>);
    configDan.blocklist.addUsing.names(<['item1', 'item2', 'etc.']>);
    configDan.blocklist.addUsing.ids(<['item1', 'item2', 'etc.']>);
    configDan.blocklist.addUsing.blacklist();
    configDan.blocklist.remove(<['item1', 'item2', 'etc.']>);
    configDan.blocklist.updatePlayerData();
    configDan.threads.hidden.add(<['item1', 'item2', 'etc.']>);
    configDan.threads.hidden.remove(<['item1', 'item2', 'etc.']>);
    configDan.threads.exceptions.add(<['item1', 'item2', 'etc.']>);
    configDan.threads.exceptions.remove(<['item1', 'item2', 'etc.']>);
    configDan.change.hideBlankName();
    configDan.change.motw();
    configDan.change.hidingOT();
    configDan.change.hidingUI();
    configDan.change.hideThreads();
    configDan.change.hideReplies();
    configDan.importSettings(<'exported settings'>);
    


    Access:
    configDan.blocklist.view();
    configDan.threads.hidden.view();
    configDan.threads.exceptions.view();
    configDan.exportSettings();
    configDan.resetSettings();
    configDan.version;
    



Edit: added some command details.
Edit 2: added configDan.blocklist.updatePlayerData(); command - new in 2.3.0.3.

Edited 3/18/2018 22:07:09
Hide Threads & Replies by Poster Official (3): 3/17/2018 00:50:01


DanWL 
Level 63
Report
2.3.0.2 changes:

  • Fixed bug that caused adding and removing players from the Blocklist to not update the add and remove buttons or remove players.
  • Fixed bug made the add Blocklist button to appear when a player is already on your Blocklist.
  • Optimised adding and removing players and threads from your Blocklist, Hidden Threads or Thread Exceptions.
Hide Threads & Replies by Poster Official (3): 3/17/2018 03:27:17

Pulsey
Level 56
Report
config hide posts from dan warlight

thanks siri
Hide Threads & Replies by Poster Official (3): 3/18/2018 22:09:46


DanWL 
Level 63
Report
2.3.0.3 changes:

  • Pressing escape closes popups.
  • Reduced the amount of space that the Blocklist and Thread Exceptions buttons take when on a forum category.
  • Moved settings menu to below the Sign Out/Sign In button in the top right bar.
  • Supported more player ids.
  • Fixed bug that allowed adding players using your blacklist to add players that were already on your Blocklist.
  • Made it easier to request player ids to be supported.
  • Added ability to force update player data.
  • Prevented unsupported player ids from being added.
Hide Threads & Replies by Poster Official (3): 3/27/2018 21:25:43


DanWL 
Level 63
Report
2.3.0.4 changes:

  • Fixed bug that made detecting if a post was only spaces cause an error when the post didn't have any spaces.
  • Fixed bug that caused the built-in support ids function not render correctly.
  • Fixed bug that caused keyboard shortcuts to not be triggered in Chrome and Safari.
Hide Threads & Replies by Poster Official (3): 4/17/2018 15:28:58


DanWL 
Level 63
Report
2.3.0.5 changes:

  • When removing a player from the Blocklist or viewing your Blocklist, player profiles are linked.
  • Made overflowing popups scrollable.
  • Clicking on overlays hides current popup.
  • Optimised storage space for player data - you'll need to update your player data to make use of this.
  • Fixed bug that prevented adding players to the blocklist using player names.
  • Updated dependencies.


Edited 4/17/2018 15:29:59
Hide Threads & Replies by Poster Official (3): 4/17/2018 15:46:00


John Titor
Level 56
Report
https://prnt.sc/j6hm4k

what is this ?

I get this everywhere on the site.

Edited 4/17/2018 15:47:22
Hide Threads & Replies by Poster Official (3): 4/17/2018 16:21:15


DanWL 
Level 63
Report
Someone already sent a report that gives that type of message. Where you using Chrome by any chance?
Hide Threads & Replies by Poster Official (3): 4/17/2018 16:22:27


John Titor
Level 56
Report
Yes and that someone was me too :)
Hide Threads & Replies by Poster Official (3): 4/17/2018 16:38:35


DanWL 
Level 63
Report
The issue is that you can't successfully download required player data. Your version of Chrome doesn't seem to support XMLHttpRequest.reponseText, however https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest#Browser_compatibility says that it should.

Note: In some versions of Chrome, you may not be able to remove players from the Blocklist or threads from Hidden Threads and Thread Exceptions. Resetting the script's settings also won't correctly work, however I know ways around setting storage issues. This is a listed bug in Chrome - https://bugs.chromium.org/p/chromium/issues/detail?id=765524.

Edit: due to when the player data was downloaded in comparrison of when you encountered the bug, I thought the bug was to do with player data not being downloaded. Turns out that the bug was to do with script storage data being read before it was defined (I.E. first time-only).

Edited 4/17/2018 19:35:31
Hide Threads & Replies by Poster Official (3): 4/17/2018 21:17:27


DanWL 
Level 63
Report
2.3.0.7 changes:

  • Fixed bug that caused the settings UI not to be built if this script wasn't installed before.
  • Fixed bug that prevented settings from being reset in Chrome.
  • Made storage less prone to errors if a storage setting was changed without using the UI.
Hide Threads & Replies by Poster Official (3): 4/24/2018 18:30:24


DanWL 
Level 63
Report
Now's the purr-fect time to install this xd
Hide Threads & Replies by Poster Official (3): 4/27/2018 15:35:46

Pulsey
Level 56
Report
2.3.0.8 changes

enabled command 'config hide posts from dan warlight' to hide posts from dan warlight
Hide Threads & Replies by Poster Official (3): 4/27/2018 19:09:17


DanWL 
Level 63
Report
2.3.0.8 and 2.3.0.9 were bug fixes actually.
Hide Threads & Replies by Poster Official (3): 4/30/2018 14:47:52

Pulsey
Level 56
Report
thanks siri
Hide Threads & Replies by Poster Official (3): 4/30/2018 17:29:57


l4v.r0v 
Level 59
Report
huh

siri doesn't seem to work

OK Google

hide posts from dan warzone
Hide Threads & Replies by Poster Official (3): 5/20/2018 17:21:03


DanWL 
Level 63
Report
2.3.0.9 to 2.3.0.11 changes:

  • Bug fixes.
Posts 1 - 20 of 20