Skip to content

Commit

Permalink
Update ebced.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ELKADUSUNhalifesi authored Sep 3, 2024
1 parent 49790bd commit 72892f6
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions js/ebced.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ function randombg()
"url('/pic/size/425/space4.png')",
"url('/pic/size/425/space5.png')",
"url('/pic/size/425/space8.jpg')",
"url('pic/size/425/El-Konstantiniyye.png')",
"url('pic/size/425/moonEarthSun.png')",
"url('pic/size/425/resurrection.png')",
"url('/pic/size/425/heavenandhell.png')",
Expand All @@ -66,7 +65,6 @@ function randombg()
"url('/pic/size/886/space4.png')",
"url('/pic/size/886/space5.png')",
"url('/pic/size/886/space8.png')",
"url('pic/size/886/El-Konstantiniyye.png')",
"url('pic/size/886/moonEarthSun.png')",
"url('pic/size/886/resurrection.png')",
"url('/pic/size/886/heavenandhell.png')",
Expand All @@ -77,7 +75,6 @@ function randombg()
"url('/pic/size/1024/space4.png')",
"url('/pic/size/1024/space5.png')",
"url('/pic/size/1024/space8.jpg')",
"url('pic/size/1024/El-Konstantiniyye.png')",
"url('pic/size/1024/moonEarthSun.png')",
"url('pic/size/1024/resurrection.png')",
"url('/pic/size/1024/heavenandhell.png')",
Expand All @@ -88,7 +85,6 @@ function randombg()
"url('/pic/size/1585/space4.png')",
"url('/pic/size/1585/space5.png')",
"url('/pic/size/1585/space8.jpg')",
"url('pic/size/1585/El-Konstantiniyye.png')",
"url('pic/size/1585/moonEarthSun.png')",
"url('pic/size/1585/resurrection.png')",
"url('/pic/size/1585/heavenandhell.png')",
Expand All @@ -99,14 +95,13 @@ function randombg()
"url('pic/space4.png')",
"url('pic/space5.png')",
"url('pic/space8.jpg')",
"url('pic/El-Konstantiniyye.png')",
"url('pic/moonEarthSun.png')",
"url('pic/resurrection.png')",
"url('/pic/heavenandhell.png')",
];

var random = Math.floor(Math.random() * 8);
while(localStorage.getItem("lastBgIndex") == random) random = Math.floor(Math.random() * 8); // FOR DIFFERENT BACKGROUND IF ALLAH gives permission
var random = Math.floor(Math.random() * 7);
while(localStorage.getItem("lastBgIndex") == random) random = Math.floor(Math.random() * 7); // FOR DIFFERENT BACKGROUND IF ALLAH gives permission
document.getElementById("bg").style.backgroundImage = bigSize[random];
document.getElementById("vücut").style.backgroundImage = bigSize[random];
localStorage.setItem("lastBgIndex", random);
Expand Down

0 comments on commit 72892f6

Please sign in to comment.