Is it possible to customise the DDoS checker page?

Hi, Is it possible to customise the DDoS checker page? The one that says: Checking your browser before accessing xxxxxxxx

https://dash.cloudflare.com/?to=/:account/:zone/custom-pages

Hi, I made a custom under attack page which works well but I want to customise the text that says:

Checking your browser before accessing exampledomain.com.
This process is automatic. Your browser will redirect to your requested content shortly.
Please allow up to 5 seconds…

Is this possible?

Not easily but you could include a javascript <script> element to change this.

<script>
document.addEventListener("DOMContentLoaded", function () {
    var checkingBrowser = document.querySelector("[data-translate='checking_browser']");
    var processISAuto = document.querySelector("[data-translate='process_is_automatic']");
    var allowsecs = document.querySelector("[data-translate='allow_5_secs']");
    checkingBrowser.innerHTML = "I will check your browser for security before accessing" // Note: the domain name is always after to this string
    processISAuto.innerHTML = "process is automatic lol"
    allowsecs.innerHTML = "You gotta wait 5 secs"
});
</script>

the only issue is that this wouldn’t translate the text for other languages, making it english for everyone.

1 Like

Thanks for this suggestion, I tried it but it didn’t work.

Here’s my full html:

<!doctype html>

Just a Moment * { font-family: "Montserrat" !important; } .loader { border: 4px solid rgba(255,92,35,0.25); border-radius: 50%; border-top: 4px solid #ff5c23; width: 80px; height: 80px; -webkit-animation: spin 2s linear infinite; /* Safari */ animation: spin 2s linear infinite; margin: 0 auto; } /* Safari */ @-webkit-keyframes spin { 0% { -webkit-transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); } } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
::IM_UNDER_ATTACK_BOX::

This topic was automatically closed after 30 days. New replies are no longer allowed.