Stopping spam subscribes on mailman: Difference between revisions

From DISI
Jump to navigation Jump to search
(asdf)
(asdf)
 
Line 2: Line 2:


<pre>
<pre>
1) Go to mailing list pending administration page (http://mailman.docking.org/mailman/admindb/yall)
1) Go to mailing list pending administration page
2) Open developer tools in chrome
2) Open developer tools in chrome
3) Go to the "Console" tab
3) Go to the "Console" tab

Latest revision as of 21:54, 13 January 2016

When we get lots of annoying subscription requests and just want to remove/ban them all:

1) Go to mailing list pending administration page
2) Open developer tools in chrome
3) Go to the "Console" tab
4) Paste this in:
var inputs = document.getElementsByTagName('input'); for(var i =0;i<inputs.length;i++) { var input = inputs[i]; if(input.getAttribute('type') == 'RADIO' && input.getAttribute('value') == '3') { input.checked = true; } else if (input.getAttribute('name').indexOf('ban-') === 0) { input.checked=true; } }
5) Press submit.
6) Enjoy the megabans.

If you are one of those spammers: please stop. You are hurting kittens.