403Webshell
Server IP : 162.243.168.218  /  Your IP : 216.73.217.81
Web Server : Apache
System : Linux ISPCONFIG-WEB-EMPRESAS 5.15.0-174-generic #184-Ubuntu SMP Fri Mar 13 18:41:50 UTC 2026 x86_64
User : web23 ( 5020)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/clients/client3/web23/web/wp-content/plugins/protect-uploads/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/clients/client3/web23/web/wp-content/plugins/protect-uploads/assets/js/protect-uploads.js
/**
 * Handle image protection in the frontend
 *
 * @package Protect_Uploads
 */

/* global jQuery */
( function( $ ) {
	'use strict';

	/**
	 * Disable right-click on images
	 */
	$( document ).on( 'contextmenu', 'img', function( e ) {
		e.preventDefault();
		return false;
	} );

	/**
	 * Disable drag-and-drop on images
	 */
	$( document ).on( 'dragstart', 'img', function( e ) {
		e.preventDefault();
		return false;
	} );

	/**
	 * Disable keyboard shortcuts
	 */
	$( document ).on( 'keydown', function( e ) {
		// Ctrl/Cmd + S.
		if ( ( e.ctrlKey || e.metaKey ) && 83 === e.keyCode ) {
			e.preventDefault();
			return false;
		}

		// Ctrl/Cmd + Shift + I or Ctrl/Cmd + Shift + C.
		if ( ( e.ctrlKey || e.metaKey ) && e.shiftKey && ( 73 === e.keyCode || 67 === e.keyCode ) ) {
			e.preventDefault();
			return false;
		}
	} );

} )( jQuery ); 

Youez - 2016 - github.com/yon3zu
LinuXploit