403Webshell
Server IP : 213.186.33.4  /  Your IP : 216.73.216.222
Web Server : Apache
System : Linux webm005.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64
User : karinebmkh ( 644538)
PHP Version : 8.4.22
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/karinebmkh/www/wp-content/plugins/phoenix-media-rename/js/options/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/karinebmkh/www/wp-content/plugins/phoenix-media-rename/js/options/options.js
// Immediately Invoked Function Expression (IIFE)
(() => {
	// Add event handler to "sanitize filenames" checkbox when DOM is loaded
	document.addEventListener('DOMContentLoaded', () => {
		document.getElementById('pmr_sanitize_filenames')
			.addEventListener('click', checkAccents);
	});

	// Add event handler to "remove accents" checkbox when DOM is loaded
	document.addEventListener('DOMContentLoaded', () => {
		document.getElementById('pmr_remove_accents')
			.addEventListener('click', checkSanitize);
	});

	// Change "remove accents" checkbox state if needed
	const checkAccents = () => {
		if (document.getElementById('pmr_sanitize_filenames').checked) {
			// "sanitize filenames" is on: remove accents has to be on
			document.getElementById('pmr_remove_accents').checked = true;
		}
	};

	// Change "remove accents" checkbox state if needed
	const checkSanitize = () => {
		if (!document.getElementById('pmr_remove_accents').checked && 
			document.getElementById('pmr_sanitize_filenames').checked) {
			// "sanitize filenames" is on: remove accents has to be on
			document.getElementById('pmr_remove_accents').checked = true;
		}
	};
})();

Youez - 2016 - github.com/yon3zu
LinuXploit