<< Back to Programming Forum   Search

Posts 1 - 10 of 10   
By popular demand: Make Warlight Great Again 3.0: 11/10/2017 07:24:11


Wally Balls 
Level 58
Report
DanWL stopped supporting his fork so I've updated Make Warlight Great Again, announcing Version 3.0.

https://gist.github.com/wallyballs-wl/4fce52513f16cc628a60539760a67ad1

I use it with Chrome + Tampermonkey. Create a custom script in Tampermonkey and add it and you're good to go.

It does one thing only, blocks trolls on the forum. All of their posts become invisible to you. The rest of your Warlight experience remains the same.

To block trolls, just add additional trolls to the list, with the same syntax.

So for example adding one more troll, it would look like:

var Players = [
"DanWL", // violating federal laws
"ıʇnpp∀ ǝɥʇ ןǝssıℲ", // fissel
// copy the line above and add more trolls here
];


After the '//' is just comments. You can put whatever you like there or nothing.

// these are comments


Enjoy :)


License:

This code is released under IDGAF License. Anyone is free to do anything they like with it.
By popular demand: Make Warlight Great Again 3.0: 11/10/2017 08:45:28

DanWL 
Level 62
Report
I've not stopped giving support to the official version of the script. There's something called real-life that I've been dealing with and not having a lot of time to work on side projects. The official version does what this script does but better - it's more configurable and you don't need to go into the script's code to change the 'Blocklist'. Link to official version of the script: https://www.warzone.com/Forum/285471-hide-threads-replies-poster-official-2.

Has anything changed in this version?

Btw, you can use /* followed by */ for comments spanning multiple lines.

Do you even know how the script works? Explain how in the code. Are you able to add completely new features that aren't implemented in the official version without the use of copy and paste?

The difference between me and you is that I know how to program and code (in JavaScript and Python and recognise the syntax of other languages e.g. C, Assembly, Java, SQL, VBA, VBS, Batch), you only copy and paste, delete stuff and reword the code.

Edited 11/14/2017 02:59:24
By popular demand: Make Warlight Great Again 3.0: 11/10/2017 10:09:54


Krzysztof 
Level 66
Report
Why block by name and not by id? Name can change, id can't. Id is unique, name isn't :P
By popular demand: Make Warlight Great Again 3.0: 11/10/2017 11:00:26

DanWL 
Level 62
Report
^Thanks for the feature request. It'll be difficult for me to implement. I'll message you why it's difficult to say why player names are used instead of player ids.
By popular demand: Make Warlight Great Again 3.0: 11/10/2017 12:13:56


Buns157 
Level 67
Report
Danwl stop being bitter that wally has created a fantastic script to block people like himself.
By popular demand: Make Warlight Great Again 3.0: 11/11/2017 03:27:20


Wally Balls 
Level 58
Report
my fork does what this script does but better


If by 'better' you mean adds sloppy and poorly designed UI changes and new elements, sure, I guess you could say that. If you simply want a way to block people on the forum and for the rest of your Warlight experience to remain exactly the same, I would have to disagree.

Edited 11/11/2017 03:28:00
By popular demand: Make Warlight Great Again 3.0: 11/11/2017 03:32:41


Wally Balls 
Level 58
Report
Why block by name and not by id?


I believe this is possible with DanWL's fork. He blocked all of my accounts from some features using the ID's. Evidently not realizing that I could see and easily correct this.
By popular demand: Make Warlight Great Again 3.0: 11/11/2017 16:03:41


Japanball
Level 56
Report
stfu wally if you want to mwga then leave
By popular demand: Make Warlight Great Again 3.0: 11/12/2017 02:39:01


Жұқтыру
Level 55
Report
If by 'better' you mean adds sloppy and poorly designed UI changes and new elements


+1
By popular demand: Make Warlight Great Again 3.0: 11/14/2017 02:58:53

DanWL 
Level 62
Report
Due to the Warzone update, this script no longer runs. Also, loads of things are broken. Guess you'll have to use https://www.warzone.com/Forum/285471-hide-threads-replies-poster-official-2 instead (when I fix it fully in less than a week).
Posts 1 - 10 of 10