Userscript to redirect when site is down

27 views Asked by At

I have script that redirects a website to an alternate website.

//==UserScript==
// @name Redirect Unreliable Site
// @description Redirect Unreliable Site
// @include http://*.[unreliablesite]
// @run-at document-start
//==/UserScript==
window.location.replace ("http://alternativesite")

Redirect faster with Greasemonkey (or similar userscript engine)?

It doesn't work if the original site is down. Is there a way to go to the alternate site without going to the original first?

0

There are 0 answers