This does not happen on my server.
External scripts like AdSense can cause long loading times.
So it was necessary to disable loading after a certain amount of time.
This code hides the loading screen by generating an error if 3 seconds have passed via a WordPress hook without modifying the script.
If I think of another way, I’ll add it.