YOURLS js console IP batch listing & delete
//Get all IPs to add in YourlsBlacklistIPs plugin for manual blacklisting | |
var allIP = []; | |
$('td.ip').each(function(){ | |
var ip = $(this).text(); | |
allIP.push(ip); | |
}) | |
console.log( allIP.join('\n') ); | |
//Click all delete buttons, then let the enter key feast on the alerts | |
$('td.actions').each(function(){ | |
var deleteBtn = $(this).find('.button_delete'); | |
deleteBtn.trigger('click'); | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
more info at https://sresc.io/1HR