document.addEventListener("error", function (e) { var elem = e.target; if (elem.tagName.toLowerCase() == 'img') { elem.src = "/images/zanwutupian190815.webp"; } }, true);