WS_OK_7.4.33 HEX
HEX
Server: nginx/1.21.4
System: Linux v12674 6.8.0-85-generic #85-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 18 15:26:59 UTC 2025 x86_64
User: endtheignorance (1014)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
Upload Files
File: /storage/v12674/lcalexington/public_html/wp-content/plugins/blackhole-bad-bots/js/admin-scripts.js
/* Blackhole for Bad Bots - Admin JavaScript */

jQuery(document).ready(function($) {
	
	$('.bbb-reset-options').on('click', function(e) {
		e.preventDefault();
		$('.bbb-modal-dialog').dialog('destroy');
		var link = this;
		var button_names = {}
		button_names[alert_reset_options_true]  = function() { window.location = link.href; }
		button_names[alert_reset_options_false] = function() { $(this).dialog('close'); }
		$('<div class="bbb-modal-dialog">'+ alert_reset_options_message +'</div>').dialog({
			title: alert_reset_options_title,
			buttons: button_names,
			modal: true,
			width: 350,
			closeText: ''
		});
	});
	
	$('.bbb-reset-badbots').on('click', function(e) {
		e.preventDefault();
		$('.bbb-modal-dialog').dialog('destroy');
		var link = this;
		var button_names = {}
		button_names[alert_reset_badbots_true]  = function() { window.location = link.href; }
		button_names[alert_reset_badbots_false] = function() { $(this).dialog('close'); }
		$('<div class="bbb-modal-dialog">'+ alert_reset_badbots_message +'</div>').dialog({
			title: alert_reset_badbots_title,
			buttons: button_names,
			modal: true,
			width: 350,
			closeText: ''
		});
	});
	
	$('.bbb-delete-bot').on('click', function(e) {
		e.preventDefault();
		$('.bbb-modal-dialog').dialog('destroy');
		var link = this;
		var button_names = {}
		button_names[alert_delete_bot_true]  = function() { window.location = link.href; }
		button_names[alert_delete_bot_false] = function() { $(this).dialog('close'); }
		$('<div class="bbb-modal-dialog">'+ alert_delete_bot_message +'</div>').dialog({
			title: alert_delete_bot_title,
			buttons: button_names,
			modal: true,
			width: 350,
			closeText: ''
		});
	});
	
});