问题
I have a script which runs on pages of a server that sometimes sends doesn't send anything back to the clients (I get the No data received error in Chrome). I want to register this event (notify another server via AJAX) and then reload the page.
How can I make sure my script runs even if the page fails to load?
来源:https://stackoverflow.com/questions/23722801/how-to-run-tampermonkey-script-if-page-fails-to-load