document.write(`
`);
jQuery(document).ready(function() {
var ua = navigator.userAgent;
var re = new RegExp('MSIE ([0-9]{1,}[\.0-9]{0,})');
var played_fd8feb6cd89bac5626bdf49ded39467c = false;
const targetNode = document.getElementById('green-player-fd8feb6cd89bac5626bdf49ded39467c');
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_fd8feb6cd89bac5626bdf49ded39467c);
if (!played_fd8feb6cd89bac5626bdf49ded39467c) {
$.post('https://radio.montornes.cat/radios/las-mananas-de-radio-montornes/2026/01/28/las-mananas-somos-lo-que-sentimos-cristalls-pel-benestar-emocional', {
play: true
});
played_fd8feb6cd89bac5626bdf49ded39467c = true;
}
}
}
};
const observer = new MutationObserver(callback);
observer.observe(targetNode, observerConf);
});