Greasy Fork is available in English.

Cloudflare Rate Limit Refresher

Refreshes the CloudFlare rate limit page until you get to your destination

// ==UserScript==
// @name         Cloudflare Rate Limit Refresher
// @version      1.01
// @description  Refreshes the CloudFlare rate limit page until you get to your destination
// @match        *://*/*
// @license      MIT
// @namespace    cloudflareratelimitrefresher
// ==/UserScript==

checkForErrorAndRefresh();

function checkForErrorAndRefresh() {
    var errorElement = document.getElementById('cf-error-details');

    if (errorElement) {
        console.log('Error detected, refreshing page...');
        window.location.reload();
    } else {
        console.log('No error detected.');
    }
}