-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the
H
and L
commands more reliable
It seems like using `window.BrowserBack()` and `window.BrowserForward()` are the most reliable ways of navigating the history, rather than having to wait for `SessionStore.getSessionHistory()` to finish and then going to a certain history index. This commit optimizes the case where the count is 1 to use the mentioned functions instead. Some extensions also override those, so calling them results in better interoperability. (Hopefully/Likely) fixes #687. To keep the code changes simple, the support for Firefox < 43 was dropped. That's fine, since Firefox 44 has already been released.
- Loading branch information
Showing
2 changed files
with
30 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters