Compare commits

..

No commits in common. "0a31d9d22e5144fae37a5a3e3884332f33a36774" and "0c36cc8f6a02df8045984d217bd01bb42d265e76" have entirely different histories.

View File

@ -5,9 +5,9 @@ function ask() {
if (e.message === 'Permission denied') {
if (!askedOnce)
return;
if (location.host.indexOf("www.") === 0)
location.host = "www2." + location.host.slice(4);
else if (location.host.indexOf("www") === 0)
if (location.host.indexOf("www") !== 0)
location.host = "www2." + location.host;
else if (location.host.indexOf("www.") !== 0)
location.host = "www" + (Number(location.host[3]) + 1) + "." + location.host.slice(5);
else
location.host = "www." + location.host;