use default cdn

maxcdn → jsdelivr
This commit is contained in:
Nebel 2023-01-14 15:59:40 +09:00
parent c42ad2d043
commit 0dd22b9f32

View file

@ -332,12 +332,4 @@ document.querySelectorAll("a").forEach(function (a) {
rel: "noreferrer", rel: "noreferrer",
}); });
}); });
document.querySelectorAll("img").forEach(function (img) {
Object.assign(img, {
src: img.src.replace(
/^https:[/][/]twemoji[.]maxcdn[.]com[/]v[/][0-9.]+/,
"https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/"
),
});
});
</script> </script>