This is a short term fix to a bigger issue that we are troubleshooting. We need to force the browser to refresh a page once after the back button is clicked. Any help would be appreciated.
Corvid does not have access to the back button. However, it is possible to figure out what site page a visitor previously visited. See the Back Button example.
The back button is meant to “go back”. Why is it that you want to intercept it and refresh the page? What is it that you are trying to accomplish?
We are using a third party shopping cart functionality, Quivers. Something in their code is interfering with the browser back button functionality. For example, when you click through a couple pages then click the browsers back button, the url changes to the previous page url but the page doesn’t. If you click refresh when the previous page url is shown then it refreshes to that url. My thought was, as a temporary fix, to trigger a refresh when the back button was clicked.
Also if I turn their code off in wix the navigation works fine. Their development team is working on the issue. I was just looking for a duct tape solution so to speak.
Any ideas?