from page a hyperlink to page b, I want to press back to page a no matter how many times I refresh and submit on page b. How can I achieve this?
if replaceState can be implemented, please also show me how to fill in the third parameter
from page a hyperlink to page b, I want to press back to page a no matter how many times I refresh and submit on page b. How can I achieve this?
if replaceState can be implemented, please also show me how to fill in the third parameter
b page is refreshed, and learn about it by history.replaceState.
https://developer.mozilla.org.
https://developer.mozilla.org.
look at the replaceState () method