(SocialLY brings you all the latest breaking news, viral trends and information from social media world, including Twitter, Instagram and Youtube. The above post is embeded directly from the user’s social media account and Fresh Headline Staff may not have modified or edited the content body. The views and facts appearing in the social media post do not reflect the opinions of Fresh Headline, also Fresh Headline does not assume any responsibility or liability for the same.)
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;
console.log("count1");
$('h1:first').text("Cristiano Ronaldo Gears Up For Juventus' Champions League Encounter Against Porto");
$(document).find("title").text("Cristiano Ronaldo Gears Up For Juventus' Champions League Encounter Against Porto")
window.history.pushState("","","https://www.freshheadline.com/socially/sports/football/cristiano-ronaldo-gears-up-for-juventus-champions-league-encounter-against-porto-2359931.html");
gtag('config', 'UA-111635423-1', { 'page_path': newhref.replace("https://"+window.location.hostname+"/", "")});
setTimeout(function(){ working=false; }, 400);
return false;
}
Leave a Reply