5 ms·
Nice, but make sure to "replace" the URL when adding the user query (= don't "push"), otherwise the user has to press back many times before he can leave the we
by axiosgunnar 5y ago
Nice, but make sure to "replace" the URL when adding the user query (= don't "push"), otherwise the user has to press back many times before he can leave the website again
- ravenstine 5y agoCame to say the same thing. Or only do a push when the user actually performs their query.
- ComodoHacker 5y agoIs it the norm now to break history? Why? I want my Back and Forward buttons working. Especially on this site, which has no other means to clear the query.
- emilfihlman 5y agoNeither push nor replace history actually work in Chrome, so the fault lies more with the browser than the developers.