Skip to content

Commit 02ad35e

Browse files
author
calypso
authored
More douglos images
2 parents 74ffa53 + 524b421 commit 02ad35e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

douglos.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
window.onload = () => {
22
const imgs = [...document.getElementsByTagName('img')]
3+
const douglos = ["5mSHRK5.png", "xu3xAY6.png", "tiomAm9.jpg", "XSrHlah.jpg", "Gt1AJCD.jpg"]
34

45
imgs.forEach(img => {
56
if (Math.random() >= 0.9)
6-
img.src = "https://i.imgur.com/XSrHlah.jpg"
7+
img.src = `https://i.imgur.com/${douglos[Math.floor(Math.random() * douglos.length)]}`
78
})
89
}

0 commit comments

Comments
 (0)