I've javascript error page which the user is getting in some uses-cases(which is valid).
The error page tell to the user what to do and have a link where to go , when user finish to activate some service, he get back to the error page, user click on refresh F5 he get an error, the error because he have "?code=…"
in the URL and additional parameters...
I think to catch the F5 event and clear url from the parameters, is it possible? if not which options do I have?
The scenario
- user click on the app new page it opened
- the page says something like "you are not subscribed to the service click on the link below to learn how"
- user click on the link and open new tab run the process and make subscription, now everything is ok.
- user back to the error page and hit refresh , now he get the error as the page is already contain some url pararmeters,
How can I solve this kind of issue?
Im using nodejs12 with simple js/html files. not using any ui frameworks....