document.write(`
`);
jQuery(document).ready(function() {
var ua = navigator.userAgent;
var re = new RegExp('MSIE ([0-9]{1,}[\.0-9]{0,})');
var played_28966aac4d8824f236c7fae32db8645c = false;
const targetNode = document.getElementById('green-player-28966aac4d8824f236c7fae32db8645c');
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_28966aac4d8824f236c7fae32db8645c);
if (!played_28966aac4d8824f236c7fae32db8645c) {
$.post('https://radio.montornes.cat/radios/la-interseccio/2025/03/20/la-interseccio-764-a-ser-felic-programa-sencer', {
play: true
});
played_28966aac4d8824f236c7fae32db8645c = true;
}
}
}
};
const observer = new MutationObserver(callback);
observer.observe(targetNode, observerConf);
});