document.write(`
`);
jQuery(document).ready(function() {
var ua = navigator.userAgent;
var re = new RegExp('MSIE ([0-9]{1,}[\.0-9]{0,})');
var played_b8b1c4b52877e308389679446a6267be = false;
const targetNode = document.getElementById('green-player-b8b1c4b52877e308389679446a6267be');
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_b8b1c4b52877e308389679446a6267be);
if (!played_b8b1c4b52877e308389679446a6267be) {
$.post('https://radio.montornes.cat/radios/espai-lounge/2026/10/20/20261020-584-espai-lounge-mp3', {
play: true
});
played_b8b1c4b52877e308389679446a6267be = true;
}
}
}
};
const observer = new MutationObserver(callback);
observer.observe(targetNode, observerConf);
});