document.write(`
`); jQuery(document).ready(function() { var ua = navigator.userAgent; var re = new RegExp('MSIE ([0-9]{1,}[\.0-9]{0,})'); var played_5ab9d07efe839c3400a9f8fa26c8e40e = false; const targetNode = document.getElementById('green-player-5ab9d07efe839c3400a9f8fa26c8e40e'); 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_5ab9d07efe839c3400a9f8fa26c8e40e); if (!played_5ab9d07efe839c3400a9f8fa26c8e40e) { $.post('https://radio.montornes.cat/radios/tiempo-de-flamenco/2025/12/15/tiempo-de-flamenco-entrevista-a-bernardo-miranda', { play: true }); played_5ab9d07efe839c3400a9f8fa26c8e40e = true; } } } }; const observer = new MutationObserver(callback); observer.observe(targetNode, observerConf); });