document.write(`
`); jQuery(document).ready(function() { var ua = navigator.userAgent; var re = new RegExp('MSIE ([0-9]{1,}[\.0-9]{0,})'); var played_5c52616aa3ed95c38db97c317ac9acbf = false; const targetNode = document.getElementById('green-player-5c52616aa3ed95c38db97c317ac9acbf'); const observerConf = { attributes: true, childList: true, subtree: true }; const callback = function(mutationsList, observer) { // Use traditional 'for loops' for IE 11 for(const mutation of mutationsList) { if (mutation.type === 'attributes' && mutation.attributeName == 'aria-label') { console.log('The ' + mutation.attributeName + ' attribute was modified.'); console.log(played_5c52616aa3ed95c38db97c317ac9acbf); if (!played_5c52616aa3ed95c38db97c317ac9acbf) { $.post('https://radio.montornes.cat/radios/la-llanterna-magica/2026/10/09/la-llanterna-magica-tom-hanks-l-home-que-va-convertir-la-humanitat-en-personatge-ii', { play: true }); played_5c52616aa3ed95c38db97c317ac9acbf = true; } } } }; const observer = new MutationObserver(callback); observer.observe(targetNode, observerConf); });