Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: sort tabs by MRU by default #16

Merged
merged 1 commit into from
Jan 23, 2021

Conversation

pyrho
Copy link
Contributor

@pyrho pyrho commented Oct 6, 2020

👋 ,

Currently the tabs are returned in the order they appear in the firefox
window (the default order).
I think this order rarely makes sense, and making it MRU could be more
useful in most situations.

This changes returns the list of tabs sorted by the lastAccessed
timestamp (see the docs).

Fixes #12

Currently the tabs are returned in the order they appear in the firefox
window (the default order).
I think this order rarely makes sense, and making it MRU could be more
useful in most situations.

This changes returns the list of tabs sorted by the `lastAccessed`
timestamp (see the [docs](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Browser_support_for_JavaScript_APIs#tabs)).

Fixes deanishe#12
@deanishe deanishe merged commit 63fcc7a into deanishe:master Jan 23, 2021
@deanishe
Copy link
Owner

Thanks. I think this is compatible with all current version of Firefox now that the ESR version has been updated to 78.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sort tab by MRU
2 participants