Skip to content

Instantly share code, notes, and snippets.

@tung
Created June 25, 2011 11:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tung/1046382 to your computer and use it in GitHub Desktop.
Save tung/1046382 to your computer and use it in GitHub Desktop.
jsshell script to ban a user on an SMF-based forum
// Ban a spambot
$('th:contains("Reason:") + td > input').val("Spambot");
$('#main_ip_check').attr('checked', true);
$('#email_check').attr('checked', true);
$('#user_check').attr('checked', true);
$(':submit[name="add_ban"]').css('fontSize', '30pt');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment