I am unable to use commands on my server, so I am looking for a way to mass-remove all subscribers from a given list. As I can view all list subscribers on a long screen, the easiest for me would be to mark the individual subscribers in the column 'unsub', but it would take a long time to this for each member individually. Is it possible to mark all members in the 'unsub' column in one go?
Herward
certuspersonality wrote:
I am unable to use commands on my server, so I am looking for a way to mass-remove all subscribers from a given list. As I can view all list subscribers on a long screen, the easiest for me would be to mark the individual subscribers in the column 'unsub', but it would take a long time to this for each member individually. Is it possible to mark all members in the 'unsub' column in one go?
Absolutely.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On Mon, Dec 14, 2009 at 09:48:15PM +1000, certuspersonality wrote:
Is it possible to mark all members in the 'unsub' column in one go?
greasemonkey? A few GM scripts for Mailman have been written: I can't remember what for, though. Search the list archives for greasemonkey, perhaps?
-- ``Treason doth ne'er prosper / And what is the reason? If treason should prosper / None dare call it treason.'' (Glorious-Revolution-era ditty)
Adam McGreggor wrote:
On Mon, Dec 14, 2009 at 09:48:15PM +1000, certuspersonality wrote:
Is it possible to mark all members in the 'unsub' column in one go?
greasemonkey? A few GM scripts for Mailman have been written: I can't remember what for, though. Search the list archives for greasemonkey, perhaps?
Here's one that should work, although it's not too well tested:
// Begin script var inputs = document.getElementsByTagName("input");
for (var i=0; i < inputs.length; i++){ if(inputs[i].type == 'checkbox' && inputs[i].name.indexOf("_unsub") > 0){ inputs[i].checked = true; } } // End script
Or if you don't have greasemonkey, here's the same thing as a bookmarklet (In Firefox, make a bookmark and set this as the "location")
javascript:function%20unsubAll(){var%20inputs=document.getElementsByTagName("input");for(var%20i=0;i<inputs.length;i++){if(inputs[i].type=='checkbox'&&inputs[i].name.indexOf("_unsub")>0){inputs[i].checked=true;}}}unsubAll();
participants (4)
-
Adam McGreggor
-
certuspersonality
-
Mark Sapiro
-
Terri Oda