How to quickly bulk delete spam from Xenforo from moderation tools without plugins

Using Chrome right click on the moderation page where you got a bunch of spam posts and or new users. Click inspect. Then click Console. Paste the script below into the console and press enter. This will toggle all radio buttons to delete, reject & uncheck notify user.

var btns = document.querySelectorAll('input[type="radio"]')
for(var i=0;i<btns.length;i++){
  if(btns[i].value=="delete")
    btns[i].checked=true;
 }
  
 
 var btns = document.querySelectorAll('input[type="radio"]')
for(var i=0;i<btns.length;i++){
  if(btns[i].value=="reject")
    btns[i].checked=true;
 }
 
 
  
 var btns = document.querySelectorAll('input[type="checkbox"]')
for(var i=0;i<btns.length;i++){
  if(btns[i].value=="1")
    btns[i].checked=false;
 }