santa hat
deerdeer nosedeer glow
Sign In

Could there be a random sort button?

I have liked so many models and sorting by new or most liked makes it hard to find certain models, if I could sort randomly I could try new things.

1 Answer

Hi!

A random sort is an interesting idea. I'll pass it on. In the meantime, you could make yourself a random button!

Make a random_button.txt on the desktop (or wherever). Insert the following code;

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TheAlly's Civitai Rando Button</title>
<script>
function openRandomModel() {
const min = 1;
const max = 23162;
const randomNumber = Math.floor(Math.random() * (max - min + 1)) + min;
const url = 'https://civitai.com/models/' + randomNumber;
window.open(url, '_blank');
}
</script>
</head>
<body>
<button onclick="openRandomModel()">Randomize!</button>
</body>
</html>


Save it, rename the file random_button.html - when launched, it will display a "Randomize!" button, which when clicked will open a new window showing a random piece of content.

Pretty hokey, but kinda fun!

Your answer