Force back than redirect to previous page

Hi, I have a page, need force back to the user page, the code is:

f7router.back('/user/', {force: true})

after page force go back to /user/, it just redirect to the real previous history page, immediately.

How can I stop the router redirect action?

I guess you use pushState? Then not possible as no way to prevent/override browser history.

Yes, I should not use pushState. Thanks @nolimits4web