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/lcakingwood/public_html/wp-content/plugins/enable-media-replace/js/emr_success.js
window.addEventListener('load', function(event) {

	var url = new URL(window.location.href);
	url.searchParams.set('emr_success', 1);

  var timeout = 10;
	if (emr_success_options.timeout)
		timeout = emr_success_options.timeout;
	var counter = document.getElementById('redirect_counter');
	var redirectUrl = document.getElementById('redirect_url');
	var redirected = false;

	counter.textContent = timeout;

	var t = window.setInterval(function () {
		counter.textContent = timeout;
		timeout--;
		if (timeout <= 0 && false == redirected)
		{
			 window.location.href = redirectUrl;
			 redirected = true;
			 window.clearInterval(t);
		}
	}, 1000);

});