Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
if(window.location.href.includes("=twa1") && !window.location.href.includes("=twa1sandbox")) {
window.location.href = window.location.href.replace("twa1","twa1sandbox");
}
if(window.location.href.includes("=twa2") && !window.location.href.includes("=twa2sandbox")) {
window.location.href = window.location.href.replace("twa2","twa2sandbox");
}
if(window.location.href.includes("=twa3") && !window.location.href.includes("=twa3sandbox")) {
window.location.href = window.location.href.replace("twa3","twa3sandbox");
}
if(window.location.href.includes("=twa4") && !window.location.href.includes("=twa4sandbox")) {
window.location.href = window.location.href.replace("twa4","twa4sandbox");
}
if(window.location.href.includes("=twa5") && !window.location.href.includes("=twa5sandbox")) {
window.location.href = window.location.href.replace("twa5","twa5sandbox");
}
if(window.location.href.includes("=twa6") && !window.location.href.includes("=twa6sandbox")) {
window.location.href = window.location.href.replace("twa6","twa6sandbox");
}
if(window.location.href.includes("=twa7") && !window.location.href.includes("=twa7sandbox")) {
window.location.href = window.location.href.replace("twa7","twa7sandbox");
}