c.bauherren.ovhYou have anger issues, no you make me angry. and thats the issue

Randomized page

async function fetchPaths() {
    const response = await fetch('s.json');
    const paths = await response.json();
    return paths;
}
async function goToRandomPage() {
    const paths = await fetchPaths();
    const randomPath = paths[Math.floor(Math.random() * paths.length)];
    window.location.href = randomPath;
}

Randomizer V2

async function fetchPaths() {
    const response = await fetch('http://avsbq.org/s.json');
    const paths = await response.json();
    return paths;
}
async function goToRandomPage() {
    const paths = await fetchPaths();
    
    // Filter out paths containing a dot
    const filteredPaths = paths.filter(path => !path.includes('.'));
    
    // Select a random path from the filtered paths
    const randomPath = filteredPaths[Math.floor(Math.random() * filteredPaths.length)];
    
    // Redirect to the new URL
    window.location.assign(`http://avsbq.org/${randomPath}`);
}