disabled browser back


constructor(){

 window.history.pushState(null, null, window.location.href);

window.onpopstate = function () {
    window.history.go(1);
};

}

Comments

Popular posts from this blog

Become a Expert + Secret of Success -- ii

Change Detection

without writing media queries How to make responsive component