Abort all requests and stop all intervals

My task is to “stop sending all requests and show the error page”, but the application is just huge, there are also many requests sending in intervals. Is there a way to disable them all somehow?