I'm using firefox.
COPYING
Now I am back at an empty tab, instead of the main code page.
It is very annoying.
How can I either entirely prevent github (and other sites) overriding my browser back button, or implement a workaround when they do?
After much experimenting, I found this non-default config setting:
browser.navigation.requireUserInteraction = true
which led me to this relevant bug report:
I have no recollection of setting that option but resetting it to default (false
) immediately made the location history reappear when right-clicking the back button.
It's slightly odd that only github was affected (but I can see they use javascript that mentions things like "poping a state from the history stack" and "prevent our state from getting out of sync with the browser's history stack", so ...).
Thanks to @0stone0 for pointing me in the right direction.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With