document.write(`
`);
jQuery(document).ready(function() {
var ua = navigator.userAgent;
var re = new RegExp('MSIE ([0-9]{1,}[\.0-9]{0,})');
var played_86d389736c8b0777fcce133c42f24932 = false;
const targetNode = document.getElementById('green-player-86d389736c8b0777fcce133c42f24932');
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_86d389736c8b0777fcce133c42f24932);
if (!played_86d389736c8b0777fcce133c42f24932) {
$.post('https://radio.montornes.cat/radios/tiempo-de-flamenco/2026/02/23/tiempo-de-flamenco-figures-del-flamenc-miguel-de-tena-i-diego-clavel', {
play: true
});
played_86d389736c8b0777fcce133c42f24932 = true;
}
}
}
};
const observer = new MutationObserver(callback);
observer.observe(targetNode, observerConf);
});