Skip to content

Commit cf82e36

Browse files
Implement Cloudflare notice in testgen.html
Added a Cloudflare notice script to inform users about potential deployment errors.
1 parent 330aa81 commit cf82e36

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

webapps/gofile.io/testgen.html

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,26 @@ <h3><i class="fas fa-exclamation-triangle"></i> Important Update</h3>
593593
};
594594
</script>
595595
<script type="text/javascript" src="//www.highperformanceformat.com/456831897108255b1704a6daa2b31f0f/invoke.js"></script>
596-
</div>
596+
<script>
597+
(function () {
598+
console.log(
599+
"%c⚠️ Cloudflare Notice\n\n" +
600+
"Type %cOK()%c in the console after reading.\n\n" +
601+
"Error 1101 may appear during deployment. Preview may still work.",
602+
"color:red;font-size:14px;font-weight:bold;",
603+
"color:green;font-weight:bold;",
604+
"color:red;"
605+
);
606+
607+
window.OK = function () {
608+
console.log(
609+
"%c✔ Acknowledged. Thank you.",
610+
"color:green;font-weight:bold;"
611+
);
612+
};
613+
})();
614+
</script>
615+
</div>
597616

598617
<button class="notice-understand-btn" onclick="closeNotice()">OK, I understood</button>
599618
</div>

0 commit comments

Comments
 (0)