reload page when going back in browser

Question

is there any way to refresh the browser page when backtracking with javascript: window.history.go (-1);?

there is the option to use document.referrer; but I can only go back one page. yes, I must go back 2 or 3 pages I can’t get it to work.

I wanted to know if there is a possibility to use some function so that when you go back the page is refreshed.

Greetings.

0
nicolas 2 months 2021-07-23T18:36:15-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse