(SocialLY vous apporte toutes les dernières nouvelles de dernière heure, les tendances virales et les informations du monde des médias sociaux, y compris Twitter, Instagram et Youtube. Le message ci-dessus est intégré directement à partir du compte de réseau social de l’utilisateur et le personnel de LatestLY n’a peut-être pas modifié ou édité le corps du contenu Les points de vue et les faits apparaissant dans la publication sur les réseaux sociaux ne reflètent pas les opinions de LatestLY, et LatestLY n’assume aucune responsabilité à cet égard.)
var top = window.pageYOffset;
var distance = top - $(this).offset().top;
var newhref = socially_url;
var scrollTop = $(window).scrollTop();
var top_of_element1 = jQuery(".socially_article").last().offset().top;
//console.log("count: "+scrollTop+" "+top_of_element1);
if((scrollTop < 3100 && scrollTop > 3000) && !working && currenthref != socially_url1){
working = true;
currenthref = socially_url1;
var infiniteScrollArticles="
Neeraj Chopra Wins Gold Medal At Kuortane Games 2022 With a Throw Of 86.69m (Watch Video)
Boston Celtics vs Golden State Warriors Video Highlights: Warriors Win NBA Championship With 103-90 Victory in Game 6
Game Of Thrones: Jon Snow Sequel Series In Development At HBO, Kit Harington To Reprise His Role – Reports
NBA Finals 2022 Live Streaming Online and Telecast in India: How to Watch Boston Celtics vs Golden State Warriors Game 6 With Time in IST?
";
//bottom sticky widget when scroll up at 1st article
$(".bxslider").html(infiniteScrollArticles);
var emoji2 = "More Naruto Skins Are Coming to Fortnite This Week - Latest Tweet by Destructoid | 📝 LatestLY";
console.log("count1");
var newhref1 = "https://www.latestly.com/socially/information/more-naruto-skins-are-coming-to-fortnite-this-week-latest-tweet-by-destructoid-3855386.html";
$('h1:first').text("More Naruto Skins Are Coming to Fortnite This Week - Latest Tweet by Destructoid");
$(document).find("title").text(emoji2)
window.history.pushState("","","https://www.latestly.com/socially/information/more-naruto-skins-are-coming-to-fortnite-this-week-latest-tweet-by-destructoid-3855386.html");
gtag('config', 'UA-111635423-1', { 'page_path': newhref1.replace("https://"+window.location.hostname+"/", "")});
setTimeout(function(){ working=false; }, 400);
return false;
}
//console.log("distance "+distance+" && working"+working+" &¤thref:"+currenthref+" && newhref"+newhref+" && socially_url2"+socially_url2+" "+k);
if(distance < -800 && distance > -900 && !working && newhref != socially_url2 && currenthref == newhref && typeof socially_url2 != 'undefined'){
newhref = socially_url2;
//bottom sticky widget when scroll up
relatedArticleWidget = $('.bx'+articleid1).html();
$(".bxslider").html(relatedArticleWidget);
currenthref = newhref;
console.log("change url2"+newhref);
working = true;
$('h1:first').text($(this).prevAll(".socially_article_widget2").attr('data-articletitle'));
$('meta[property=og\\:title]').attr('content', $(this).prevAll(".socially_article_widget2").attr('data-articletitle'));
$('meta[property=og\\:url]').attr('content', newhref);
$(document).find("title").text($(this).prevAll(".socially_article_widget2").attr('data-articletitle')+' | '+emoji1+' LatestLY')
window.history.pushState("","",newhref);
gtag('config', 'UA-111635423-1', { 'page_path': newhref.replace("https://"+window.location.hostname+"/", "")});
self.COMSCORE && COMSCORE.beacon({ c1: "2", c2: "27040963" });
setTimeout(function(){ working=false; }, 500);
return false;
}else if (distance < 0 && distance > -450 && !working && currenthref != newhref) {
working = true;
////bottom sticky widget when scroll down
relatedArticleWidget = $('.bx'+articleid).html();
$(".bxslider").html(relatedArticleWidget);
currenthref = newhref;
console.log("change url1"+newhref);
$('h1:first').text($(this).attr('data-title'));
$('meta[property=og\\:title]').attr('content', socially_title);
$('meta[property=og\\:url]').attr('content', newhref);
$(document).find("title").text(socially_title +' | '+emoji+' LatestLY')
window.history.pushState("","",newhref);
//var res = newhref.replace("https://www.latestly.com/", "");
gtag('config', 'UA-111635423-1', { 'page_path': newhref.replace("https://"+window.location.hostname+"/", "")});
self.COMSCORE && COMSCORE.beacon({ c1: "2", c2: "27040963" });
setTimeout(function(){ working=false; }, 400);
return false;
}
});
var bottom_of_screen = jQuery(window).scrollTop() + window.innerHeight;
var top_of_element = jQuery(".container .article-footer").last().offset().top;
if(bottom_of_screen > top_of_element && !visible){
visible = true;
k=k+1;
if(k==2 && false){
var dm_js = document.createElement('script');
dm_js.src="https://stfe.latestly.com/js/dm-ce.min.js?v=1.1";
dm_js.async="async";
document.body.appendChild(dm_js);
}
$.ajax({
method: "GET",
url: "/larajax/live-socially-ajax/",
data:{ curr_socially:articleid,curr_date:articleupdate,index:k },
dataType: 'json'
}).done(function( data ) {
$(".socially_article").append(data.html);
$("img.lazyload").lazyload();
window.instgrm.Embeds.process();
var slotName = "div-gpt-ad-1560419575255-"+k;
googletag.cmd.push(function() {
var slot = googletag.defineSlot('/21682383758/latestly_728x90_btf1', [728, 90], slotName).
addService(googletag.pubads());
googletag.display(slotName);
googletag.pubads().refresh([slot]);
});
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1560419575255-'+k); });
var slotName = "div-gpt-ad-1568807958472-"+k;
googletag.cmd.push(function() {
var slot = googletag.defineSlot('/21682383758/728x90_Top', [728, 90], slotName).
addService(googletag.pubads());
googletag.display(slotName);
googletag.pubads().refresh([slot]);
});
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1568807958472-'+k); });
loadAPI_Social_js()
var js_fb = document.createElement('script');
js_fb.src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v3.3&appId=224265671451116&autoLogAppEvents=1";
document.body.appendChild(js_fb);
//colombai
try{
(function() {
var cads = document.createElement("script");
cads.async = true;
cads.type = "text/javascript";
cads.src = "https://static.clmbtech.com/ase/80185/3040/c1.js";
var node = document.getElementsByTagName("script")[0];
node.parentNode.insertBefore(cads, node);
})();
}catch(e){}
});
}else if(bottom_of_screen < top_of_element){
visible = false;
}
});
function loadAPI_Social_js() {
var twitter_js = document.createElement('script');
twitter_js.src="https://platform.twitter.com/widgets.js";
twitter_js.async="async";
document.body.appendChild(twitter_js);
var instagram_js = document.createElement('script');
instagram_js.src="https://platform.instagram.com/en_US/embeds.js";
instagram_js.async="async";
document.body.appendChild(instagram_js);
var pinterest_js = document.createElement('script');
pinterest_js.src="https://assets.pinterest.com/js/pinit.js";
pinterest_js.async="async";
document.body.appendChild(pinterest_js);
}