Great plugin! We're using it in our documentation site, mainly to support deep linking into a specific tab.
I wonder if it would be better to use replaceState instead, in order not to keep the old url in the history? If switching several times between tabs, each switch will be remembered by the back button...
I ran a little test here, and it seems that everything still works with replaceState. Any reason not to use it? Would you accept a PR with adding this to the options?
Great plugin! We're using it in our documentation site, mainly to support deep linking into a specific tab.
I wonder if it would be better to use
replaceState
instead, in order not to keep the old url in the history? If switching several times between tabs, each switch will be remembered by the back button...I ran a little test here, and it seems that everything still works with
replaceState
. Any reason not to use it? Would you accept a PR with adding this to the options?