document.write(`
`); jQuery(document).ready(function() { var ua = navigator.userAgent; var re = new RegExp('MSIE ([0-9]{1,}[\.0-9]{0,})'); var played_3095b7bf5c3f2bf4d72e645f91b1be05 = false; const targetNode = document.getElementById('green-player-3095b7bf5c3f2bf4d72e645f91b1be05'); 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_3095b7bf5c3f2bf4d72e645f91b1be05); if (!played_3095b7bf5c3f2bf4d72e645f91b1be05) { $.post('https://radio.montornes.cat/radios/las-mananas-de-radio-montornes/2026/11/03/las-mananas-activitats-i-anecdotes-de-l-associacio-excursionista-lleure-montornes', { play: true }); played_3095b7bf5c3f2bf4d72e645f91b1be05 = true; } } } }; const observer = new MutationObserver(callback); observer.observe(targetNode, observerConf); });