document.write(`
`);
jQuery(document).ready(function() {
var ua = navigator.userAgent;
var re = new RegExp('MSIE ([0-9]{1,}[\.0-9]{0,})');
var played_49f25829e5adc598fec38ee1f66974aa = false;
const targetNode = document.getElementById('green-player-49f25829e5adc598fec38ee1f66974aa');
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_49f25829e5adc598fec38ee1f66974aa);
if (!played_49f25829e5adc598fec38ee1f66974aa) {
$.post('https://radio.montornes.cat/radios/las-mananas-de-radio-montornes/2026/07/09/las-mananas-oferta-de-tallers-al-casal-de-cultura-del-curs-2026-27', {
play: true
});
played_49f25829e5adc598fec38ee1f66974aa = true;
}
}
}
};
const observer = new MutationObserver(callback);
observer.observe(targetNode, observerConf);
});