document.write(`
`);
jQuery(document).ready(function() {
var ua = navigator.userAgent;
var re = new RegExp('MSIE ([0-9]{1,}[\.0-9]{0,})');
var played_ef132164a55af0e6a8330903387f59ac = false;
const targetNode = document.getElementById('green-player-ef132164a55af0e6a8330903387f59ac');
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_ef132164a55af0e6a8330903387f59ac);
if (!played_ef132164a55af0e6a8330903387f59ac) {
$.post('https://radio.montornes.cat/radios/els-grups-municipals-parlen/2025/07/15/eva-diaz-regidora-del-partit-dels-socialistes', {
play: true
});
played_ef132164a55af0e6a8330903387f59ac = true;
}
}
}
};
const observer = new MutationObserver(callback);
observer.observe(targetNode, observerConf);
});