3 ms·
You can choose to update the history stack or not. For example, this page uses the History API to update the url without changing the browser history stack: ht
by welder 4y ago
You can choose to update the history stack or not. For example, this page uses the History API to update the url without changing the browser history stack:
https://wakatime.com/pricing https://wakatime.com/pricing
Click the toggle to show yearly pricing and the url is updated, but you can still press back to go to whatever previous page you visited.
Then, this page DOES update the history stack when the url changes:
https://wakatime.com/dashboard https://wakatime.com/dashboard
Click the date range and select a new range, notice the url changes but also you can press back to go to your previous date range.