Temas candentes cerrar

Gimnasia y Esgrima de La Plata vs Godoy Cruz, por la Liga Profesional: horario, TV y formaciones

El Lobo, de gran campaña con Gorosito, recibe al Tomba, que también está quinto. Por TNT Sports.
  • Las más leídas

    de Clarín

'+ '
'+ ''+ ''+ ''+noticias[i].title+''+ ''+ '
'+ ''+ ''+''+ ''; } $(".col-d-content").html(html); } }) ready = true; });
05/08/2022 15:25 Actualizado al 05/08/2022 18:58

Gimnasia y Esgrima La Plata, único escolta de Atlético Tucumán, recibe a Godoy Cruz en el inicio de la duodécima fecha de la Liga Profesional de Fútbol.

Se juega en el estadio Juan Carmelo Zerillo, con el arbitraje de Leandro Rey Hilfer y transmisión de TNT Sports. En el VAR estarán Héctor Paletta junto a Gastón Suárez.

TEMAS QUE APARECEN EN ESTA NOTA
'); $("#activateComments").trigger('refreshPlugin'); } $(document).on("wa.login", function(e, user){ var status = sasSiteHelper.getKwPw(); if (status != 2) { $("div.comment-buttons").show(); $(".habilito_comentar").show(); } else { $("div.comment-buttons").hide(); $(".habilito_comentar").hide(); } refreshCommentPlugin(); }); $(document).on("wa.logout", function(e, user){ var status = sasSiteHelper.getKwPw(); if (status != 2) { $("div.comment-buttons").show(); $(".habilito_comentar").show(); } else { $("div.comment-buttons").hide(); $(".habilito_comentar").hide(); } refreshCommentPlugin(); }); $(window).scroll(function() { var divEntry = $(".content-top-right"); var bottom = $(window).height() - divEntry.height(); bottom = divEntry.offset().top - bottom; if ($(window).scrollTop() > bottom) { $("#containerID-comments-pase").attr('style','width: 100%;clear: both'); } }) const box1 = document.querySelector(".head-comments"); const observer1 = new IntersectionObserver( (entries, observer) => { entries.forEach((entry) => { if (entry.isIntersecting && !acum) { acum++ loadComments() } }); }, { rootMargin: "900px" } ); observer1.observe(box1); const getCommentCount = () =>{ $.ajax({ type: 'GET', dataType: 'json', contentType: "application/json; charset=utf-8", url: "https://livecomments.viafoura.co/v4/livecomments/00000000-0000-4000-8000-82628f44cd3d/contentcontainer/id?container_id=7PFOQiD3d3", success: function (result) { console.log('Consumiendo api viafoura...'); resComment = result.total_visible_content; $(".numb_comment.top").html(resComment); }, error: function (error) { console.log('Error al consumir api viafoura'); } }); } getCommentCount() let acum = 0 const loadScript = src => { return new Promise((resolve, reject) => { const script = document.createElement('script') script.type = 'text/javascript' script.defer = true; script.onload = resolve script.onerror = reject script.src = src document.head.append(script) }) } const loadComments = () => { loadScript('//cdn.viafoura.net/vf-v2.js') .then( async () => { console.log('CARGO VIAFOURA') // let token = $.cookie(_wa_conf.cookiesPrefix +"__token_auth0"); // if(token){ // await window.vf.session.login.cookie(token); // } window.vf.$prepublish((channel, event, ...args) => { console.log(channel, event) if(channel === 'comments' && event === 'read' && !$( ".vf-comments-count" ).length > 0){ $(".numb_comment").html("0") } if (channel === 'authentication' && event === 'required') { return false; } else if (channel === 'commenting' && event === 'loaded' || channel === 'comments' && event === 'read') { // console.log(sasSiteHelper.getKwPw(), $.cookie("__WASID")) $('.vf-content-editor-input').attr('placeholder','Sumá tu opinión y dejá tu comentario') $('.vf-load-more__button .vf-loader-button__content').text('Cargar mas comentarios') $(".vf-editor-area").click(function(){ $('.vf-content-editor-actions__submit .vf-loader-button__content').text('Comentar') }); $(".vf-content-actions__reply").click(function(){ $('.content-focus-container__footer .vf-loader-button__content').text('Comentar') }); if(sasSiteHelper.getKwPw() != 2){ $( ".vf-post-form__new-content" ).hide(); } else{ $( ".vf-post-form__new-content" ).show(); } if($( ".numb_comment.top" ).hasClass("viafoura-observer")){ let count = $( ".numb_comment.top .vf-comments-count" ).text(); let value = 0 if(count.length){ value = count.match(/\d+/)[0] } console.log("VALUE", value); $.post("/viafoura/set",{ key: "7PFOQiD3d3", value: value }, function(result) { console.log("SET ", result) }); } return false; } else if(channel === 'tray' && event === 'open-intent'){ $(".vf-front-avatar").removeClass('vf-avatar'); $(".vf-front-avatar").addClass('vf-relative-custom'); return false; } else if(channel == 'login' && event == 'success'){ if(sasSiteHelper.getKwPw() != 2){ window.vf.session.logout(); return false; } else{ return { channel, event, args }; } } else { return { channel, event, args }; } }); }) .catch(() => console.error('ERROR CARGANDO VIAFOURA.')) }
Shotoes similares