by MatmaRex · 4y ago · 0 comments
location.href = location.href;One more: If you set an image's src attribute to the same thing, it'll still reload the image.
const image = new Image("/img.png");
document.body.append(image);
image.src = image.src;