document.write(`
`);
jQuery(document).ready(function() {
var ua = navigator.userAgent;
var re = new RegExp('MSIE ([0-9]{1,}[\.0-9]{0,})');
var played_599aaa92b5aaed64fd120e53865d98e7 = false;
const targetNode = document.getElementById('green-player-599aaa92b5aaed64fd120e53865d98e7');
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_599aaa92b5aaed64fd120e53865d98e7);
if (!played_599aaa92b5aaed64fd120e53865d98e7) {
$.post('https://radio.montornes.cat/radios/la-interseccio/2026/06/22/la-interseccio-1017-de-festa-amb-la-llar-d-infants-publica-el-lledoner-programa-sencer', {
play: true
});
played_599aaa92b5aaed64fd120e53865d98e7 = true;
}
}
}
};
const observer = new MutationObserver(callback);
observer.observe(targetNode, observerConf);
});