Don't have Telegram yet? Try it now!
https://hashnode.com/post/implementing-backward-and-forward-buttons-of-browser-in-javascript-cjujn789z001cnrs1yyc2q06w
Implementing Backward and Forward buttons of Browser in JavaScript by Thamaraiselvam