__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
( function ( w, d ) {
function parseJSON( str ) {
try {
return str ? w.JSON.parse( str ) : null;
} catch ( error ) {
return null;
}
}
w.polldaddyshortcode = {
render: function () {
const ratings = d.querySelectorAll( 'div.pd-rating[data-settings]' );
const polls = d.querySelectorAll( 'div.PDS_Poll[data-settings]' );
polls.forEach( pollEl => {
if ( pollEl.hasAttribute( 'data-pd-init-done' ) ) {
return;
}
pollEl.setAttribute( 'data-pd-init-done', '1' );
const poll = parseJSON( pollEl.getAttribute( 'data-settings' ) );
if ( poll ) {
let poll_url;
try {
poll_url = new w.URL( poll.url, 'https://invalid.tld' );
} catch ( error ) {
return false;
}
if (
poll_url.hostname !== 'secure.polldaddy.com' &&
poll_url.hostname !== 'static.polldaddy.com'
) {
return false;
}
const pathname = poll_url.pathname;
if ( ! /\/?p\/\d+\.js/.test( pathname ) ) {
return false;
}
const wp_pd_js = d.createElement( 'script' );
wp_pd_js.src = poll.url;
wp_pd_js.async = true;
d.head.appendChild( wp_pd_js );
}
} );
if ( ratings.length ) {
let scriptContents = '';
ratings.forEach( ratingEl => {
if ( ratingEl.hasAttribute( 'data-pd-init-done' ) ) {
return;
}
ratingEl.setAttribute( 'data-pd-init-done', '1' );
const rating = parseJSON( ratingEl.getAttribute( 'data-settings' ) );
if ( rating ) {
scriptContents += `
PDRTJS_settings_${ rating.id }${ rating.item_id } = ${ rating.settings };
if ( typeof PDRTJS_RATING !== 'undefined' ) {
if ( typeof PDRTJS_${ rating.id }${ rating.item_id } === 'undefined' ) {
PDRTJS_${ rating.id }${ rating.item_id } =
new PDRTJS_RATING( PDRTJS_settings_${ rating.id }${ rating.item_id } );
}
}
`;
}
} );
if ( scriptContents ) {
const anchorEl = d.querySelector( '#polldaddyRatings' );
if ( anchorEl ) {
const script = d.createElement( 'script' );
script.id = 'polldaddyDynamicRatings';
script.text = scriptContents;
anchorEl.after( script );
}
}
}
},
};
d.body.addEventListener( 'is.post-load', () => w.polldaddyshortcode.render() );
// In environments where jQuery is present, listen and dispatch with jQuery.
if ( typeof w.jQuery !== 'undefined' ) {
w.jQuery( d.body ).on( 'pd-script-load', () => w.polldaddyshortcode.render() );
w.jQuery( d.body ).trigger( 'pd-script-load' );
} else {
d.body.addEventListener( 'pd-script-load', () => w.polldaddyshortcode.render() );
d.body.dispatchEvent( new Event( 'pd-script-load' ) );
}
} )( window, document );
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| blocks | Folder | 0755 |
|
|
| build | Folder | 0755 |
|
|
| fonts | Folder | 0755 |
|
|
| genericons | Folder | 0755 |
|
|
| lib | Folder | 0755 |
|
|
| social-logos | Folder | 0755 |
|
|
| accessible-focus.js | File | 620 B | 0644 |
|
| blogging-prompts.php | File | 8.3 KB | 0644 |
|
| class.jetpack-provision.php | File | 9.65 KB | 0644 |
|
| connect-button.js | File | 737 B | 0644 |
|
| crowdsignal-shortcode.js | File | 660 B | 0644 |
|
| crowdsignal-survey.js | File | 277 B | 0644 |
|
| facebook-embed.js | File | 1 KB | 0644 |
|
| gallery-settings.js | File | 1 KB | 0644 |
|
| genericons.php | File | 565 B | 0644 |
|
| jetpack-admin.js | File | 1.56 KB | 0644 |
|
| jetpack-connection-banner.js | File | 1.17 KB | 0644 |
|
| jetpack-deactivate-dialog.js | File | 2.8 KB | 0644 |
|
| jetpack-modules.js | File | 2.42 KB | 0644 |
|
| jetpack-modules.models.js | File | 2.08 KB | 0644 |
|
| jetpack-modules.views.js | File | 1.69 KB | 0644 |
|
| jetpack-recommendations-banner.js | File | 1.79 KB | 0644 |
|
| jetpack-server-sandbox.php | File | 1.36 KB | 0644 |
|
| polldaddy-shortcode.js | File | 2.66 KB | 0644 |
|
| social-logos.php | File | 1014 B | 0644 |
|
| twitter-timeline.js | File | 351 B | 0644 |
|