I'm using firefox.
- I open a new tab
- I go to: https://github.com/git/git
- I click on the file
COPYING - I click the browser back button
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?
Despite the back button not working, the history stack seems to be unchanged. Executing
history.go(-1)in the console works, so I wrote a greasemonkey script to bind new hotkeys (Shift Ctrl [, Shift Ctrl ]):Still hoping there is a way to make the back button work directly.