Hi Shrinjala,
Try the following JS:
history.pushState(null, document.title, location.href);
window.addEventListener('popstate', function (event)
{
history.pushState(null, document.title, location.href);
});
That should do the trick.
Kind Regards,
João