diff --git a/about.html b/about.html index 01ae3b1..8220fa8 100644 --- a/about.html +++ b/about.html @@ -77,6 +77,7 @@

custom embeds using redirect links

diff --git a/redirect.html b/redirect.html index 5ff3ce2..26390db 100644 --- a/redirect.html +++ b/redirect.html @@ -40,6 +40,11 @@ window.location.replace(sites[nextSiteIndex].url); } + else if (dir == "random"){ + const randomSiteIndex = Math.floor(Math.random() * sites.length); + window.location.replace(sites[randomSiteIndex].url); + } + });