403Webshell
Server IP : 31.214.179.3  /  Your IP : 216.73.216.231
Web Server : Apache
System : Linux hostingsrv125.dondominio.com 6.12.96+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.96-1 (2026-07-20) x86_64
User :  ( 1156851)
PHP Version : 8.5.8
Disable Function : system,passthru,popen,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,exec,ini_alter,show_source,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,mail,eval
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /hosting/www/thermatron.es/public/wp-content/plugins/accessibility-onetap/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /hosting/www/thermatron.es/public/wp-content/plugins/accessibility-onetap/assets/js/admin-global.js
( function( $ ) {
	// Notice close.
	$( document ).on( 'click', '.notice-onetap .notice-dismiss, .notice-onetap .already-did', function() {
		// Hide notice.
		$( '.notice-onetap' ).slideUp( 300 );

		$.ajax( {
			// eslint-disable-next-line no-undef
			url: adminLocalize.ajaxUrl,
			type: 'POST',
			data: {
				action: 'onetap_action_dismiss_notice',
				// eslint-disable-next-line no-undef
				mynonce: adminLocalize.ajaxNonce,
			},
			success( response ) {
				// eslint-disable-next-line no-console
				console.log( 'Ajax success:', response );
			},
			error( error ) {
				// eslint-disable-next-line no-console
				console.error( 'Ajax error:', error );
			},
		} );
	} );

	// Review banner: "Leave a Review" button.
	$( document ).on( 'click', '#onetap-review-leave-review', function() {
		// Hide banner immediately.
		$( '#onetap-review-banner' ).slideUp( 300 );

		// Send AJAX request to permanently disable banner.
		$.ajax( {
			// eslint-disable-next-line no-undef
			url: adminLocalize.ajaxUrl,
			type: 'POST',
			data: {
				action: 'onetap_review_leave_review',
				// eslint-disable-next-line no-undef
				mynonce: adminLocalize.ajaxNonce,
			},
			success( response ) {
				// eslint-disable-next-line no-console
				console.log( 'Review banner disabled:', response );
			},
			error( error ) {
				// eslint-disable-next-line no-console
				console.error( 'Ajax error:', error );
			},
		} );

		// Allow default link behavior (redirect to review page).
		// The banner is already hidden and disabled via AJAX.
	} );

	// Review banner: "Maybe later" button.
	$( document ).on( 'click', '#onetap-review-maybe-later', function( e ) {
		e.preventDefault();

		// Hide banner immediately.
		$( '#onetap-review-banner' ).slideUp( 300 );

		// Send AJAX request to set next show date to +1 hour.
		$.ajax( {
			// eslint-disable-next-line no-undef
			url: adminLocalize.ajaxUrl,
			type: 'POST',
			data: {
				action: 'onetap_review_maybe_later',
				// eslint-disable-next-line no-undef
				mynonce: adminLocalize.ajaxNonce,
			},
			success( response ) {
				// eslint-disable-next-line no-console
				console.log( 'Review banner postponed:', response );
			},
			error( error ) {
				// eslint-disable-next-line no-console
				console.error( 'Ajax error:', error );
			},
		} );
	} );

	// Review banner: "Don't show again" button.
	$( document ).on( 'click', '#onetap-review-dont-show', function( e ) {
		e.preventDefault();

		// Hide banner immediately.
		$( '#onetap-review-banner' ).slideUp( 300 );

		// Send AJAX request to permanently disable banner.
		$.ajax( {
			// eslint-disable-next-line no-undef
			url: adminLocalize.ajaxUrl,
			type: 'POST',
			data: {
				action: 'onetap_review_dont_show_again',
				// eslint-disable-next-line no-undef
				mynonce: adminLocalize.ajaxNonce,
			},
			success( response ) {
				// eslint-disable-next-line no-console
				console.log( 'Review banner disabled:', response );
			},
			error( error ) {
				// eslint-disable-next-line no-console
				console.error( 'Ajax error:', error );
			},
		} );
	} );
}( jQuery ) );

Youez - 2016 - github.com/yon3zu
LinuXploit