Covid: 4.452 positivi, 201 vittime, tasso di positività all'1,7% – Sanità – ANSA.it '; //var urlPhoto = $('link').attr('href'); var urlPhoto = $('meta[property=”og:url”]').attr('content'); var photo = $('.img-photo img').attr('src'); var title = $('.news-title').html(); var titlePhoto = $('.news-title').html(); var embeddingCode = embeddingCode.replace(/URLPHOTO/g, urlPhoto).replace('TITLE', title).replace('PHOTO', photo); $('#ID_CODICE_EMBEDPHOTO').val(embeddingCode).select(); } Ottieni il codice embed minLength) //if ($('.news-txt').text().length > minLength && !noADV)…

Source