????JFIF??x?x????'403WebShell
403Webshell
Server IP : 104.21.64.1  /  Your IP : 216.73.216.145
Web Server : LiteSpeed
System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : tempvsty ( 647)
PHP Version : 8.0.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/tempvsty/peekmysite.com/wp-content/plugins/nextgen-gallery/static/AttachToPost/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/tempvsty/peekmysite.com/wp-content/plugins/nextgen-gallery/static/AttachToPost/iframely.js
if (window.frameElement) {
	document.getElementsByTagName('html')[0].id = 'iframely';
	jQuery(function($) {
        var $content = $('#ngg_page_content');
        $('#wpbody-content').html($content);
        $('#wpbody').html($content);
        $('#wpwrap').html($content);
        // $('#wpwrap').html($('#wpbody').html($('#wpbody-content').html($('#ngg_page_content'))));
        

		// We need to ensure that any POST operation includes the "attach_to_post"
		// parameter, to display subsequent clicks in iframely.
		$('form').each(function() {
			$(this).append("<input type='hidden' name='attach_to_post' value='1'/>");
		});

		var parent = window.parent;
		
		if (parent == null || typeof(parent.adjust_height_for_frame) === "undefined") {
			if (window != null && typeof(window.adjust_height_for_frame) !== "undefined") {
				parent = window;
			}
		}

        // Adjust the height of the frame
        if (typeof(parent.adjust_height_for_frame) !== "undefined") {
            parent.adjust_height_for_frame(parent, window, iframely_callback);
        }

	});
}

function iframely_callback(parent_window, current_window)
{
    var $current_window = jQuery(current_window);

    if (typeof($current_window.data('iframely')) === 'undefined') {
        $current_window.data('iframely', { attempts: 1 });
    }

    var iframely = $current_window.data('iframely');

    // After we've attempted to resize the frame 3 times, give up
    if (iframely.attempts == 3) {
        jQuery('#iframely').css({
            position: 'static',
            visibility: 'visible'
        }).animate({ opacity: 1.0 });
    } else {
        iframely.attempts += 1;
        setTimeout(function() {
            parent_window.adjust_height_for_frame(parent_window, current_window, iframely_callback);
        }, 400);
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit