Melania and Donald Trump are home to Charles and Camilla


edited in: 2019-06-05T11:47:44+02:00
from DiLei

window.fbAsyncInit = function() { FB.init({ appId : '1556073164668632', autoLogAppEvents : false, xfbml : true, version : 'v3.2' }); }; (function(d, s, id){ var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) {return;} js = d.createElement(s); js.id = id; js.src = "https://connect.facebook.net/en_US/sdk.js"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));

function track_share() { jQuery( "div[class='share'] a[class='facebook']" ).each( function( i, el ) { $el = jQuery(el); $el.removeAttr("onclick"); $el.off("click"); $el.on({ click: function (event) { var url = 'https://dilei.it/lifestyle/fotonotizia/melania-trump-londra-incanta-abito-rosso/609881/'; if ( ( typeof url !== "undefined" ) && ( url !== "" ) ) { FB.ui({ method: 'share', href: url, }, function(response){ if ( ( typeof response !== "undefined" ) && ( typeof response.error_code === "undefined" ) ) { fbq('trackSingleCustom', '102794837340930', 'ShareFromCampaign'); window.IOL.IolCb.callProxyPage(); } } );

event.preventDefault(); } return false; } }); }); }

function defer_function(method) { if( ( typeof jQuery !== "undefined" ) && ( typeof FB !== "undefined" ) && ( typeof window.IOL.IolCb !== "undefined" ) ) { method(); } else { setTimeout(function() { defer_function(method); }, 100); } }

defer_function(track_share);

}

You May Also Like

About the Author: Steven Mark

Fan of video games and new technologies, I am editor in this environment for several years already. I like to share my passion through news, tests and other files. I also love wrestling and Marvel Comics.

Leave a Reply

Your email address will not be published. Required fields are marked *