document.write(`
`);
jQuery(document).ready(function() {
var ua = navigator.userAgent;
var re = new RegExp('MSIE ([0-9]{1,}[\.0-9]{0,})');
var played_6c5075c53aa2d27acc50bab9755eec5d = false;
const targetNode = document.getElementById('green-player-6c5075c53aa2d27acc50bab9755eec5d');
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_6c5075c53aa2d27acc50bab9755eec5d);
if (!played_6c5075c53aa2d27acc50bab9755eec5d) {
$.post('https://radio.montornes.cat/radios/las-mananas-de-radio-montornes/2025/02/19/las-mananas-la-campanya-cosadetothom-arriba-a-la-seva-fi', {
play: true
});
played_6c5075c53aa2d27acc50bab9755eec5d = true;
}
}
}
};
const observer = new MutationObserver(callback);
observer.observe(targetNode, observerConf);
});