document.write(`
`);
jQuery(document).ready(function() {
var ua = navigator.userAgent;
var re = new RegExp('MSIE ([0-9]{1,}[\.0-9]{0,})');
var played_cca45c98fc91e88934d024c1f3b140a8 = false;
const targetNode = document.getElementById('green-player-cca45c98fc91e88934d024c1f3b140a8');
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_cca45c98fc91e88934d024c1f3b140a8);
if (!played_cca45c98fc91e88934d024c1f3b140a8) {
$.post('https://radio.montornes.cat/radios/queta-la-reportera-tafanera/2024/10/25/la-queta-fa-un-cop-dull-al-foam', {
play: true
});
played_cca45c98fc91e88934d024c1f3b140a8 = true;
}
}
}
};
const observer = new MutationObserver(callback);
observer.observe(targetNode, observerConf);
});