function addimageerrors() {
    $(".instagram-img, .battle-img, .fancybox-img, .fancybox-video").off("error").on("error", function () {
        $(this).parents("div.image-tile, li.image-animate-tile").remove();
    });
}

function addimageerrors() {
    $("a[target=_blank]").attr("rel", "noopener noreferrer");

    $(".instagram-img, .battle-img, .fancybox-img, .fancybox-video").off("error").on("error", function () {
        $(this).parents("div.image-tile, li.image-animate-tile").remove();
    });
}

Set rel noopener roreferrer on links
Set rel noopener roreferrer on links
