Replies: 1 comment
-
This is absolutely something I need as well! Close tab if I go "back" when there's no page to go back to. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Theres a neat addon on firefox (which no longer works) that added the functionality to close the tab if hitting [page back] on a page theres no more back from. it was very useful when checking something really quick on a newly opened tab, to close it very conveniently. (The usecase assumes operating with a mouse that has utility buttons - say for 'back' & 'forwards', which i imagine many people have and use that way)
additionally i think a complementary logic would be to reopen the last closed tab (assuming it was close accidentally) by hitting [page forward] on a page theres no more forward after.
its a simple logic -
when the action of [page back] is performed, determine if theres a page before the current page, if not - [close tab].
when the action of [page forward] is performed, determine if theres a page before the current page, if not - [reopen closed tab].
let me know if its relatively easy to implement, or if you think its useful/ not worth the time.
Beta Was this translation helpful? Give feedback.
All reactions