(function () {
function addLiveChatAlt() {
document.querySelectorAll(
'img[src*="mylivechat.com/Customization/Template/WidgetOnlineImage"]'
).forEach(function (img) {
if (!img.hasAttribute('alt')) {
img.setAttribute('alt', 'Live chat support');
}
});
}
addLiveChatAlt();
new MutationObserver(addLiveChatAlt).observe(
document.documentElement,
{ childList: true, subtree: true }
);
})();
Comments