Disable GCA on blank/error page
FrutyX opened this issue · comments
FrutyX commented
FrutyX commented
GramThanos commented on 4 Oct 2017 •
To do that, we can check if this is the back up page on "fireLoadEvent" function
However, I am not sure about the implementation of the detection, it's basically a blank page, so it's probably best, to check if core elements exists, and if not, it's a blank page, id "wrapper_game" could be a good element for it.
FrutyX commented
Source code example:
<html>
<head><title>503 Service Temporarily Unavailable</title></head>
<body bgcolor="white">
<center><h1>503 Service Temporarily Unavailable</h1></center>
<hr><center>nginx</center>
</body>
</html>
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
FrutyX commented
Well, this was addressed by Gameforge in the last update, and it seems, that the blank error page does not occur during maintenance times, at least not the way I showed here.
I will close this one.