Answers for "how to show a html page only once"

0

how to show a html page only once

if (localStorage.getItem("visited")) {
    window.location.href = "webPlatform.html";
}
localStorage.setItem("visited", "true");
Posted by: Guest on July-18-2020

Code answers related to "how to show a html page only once"

Browse Popular Code Answers by Language