Simple Tab Closing Addon: Close other same origin tabs
Firefox already contains a couple of nice ways to close multiple tabs (left,right,other), but this was something i always thought was missing.
- For example after an intense search or study sessions. -
amo: https://addons.mozilla.org/en-US/firefox/addon/close-other-same-origin-tabs/
I would be interested to know what other people think about it and maybe hear some more suggestions for tabs closing options.
Posted Jun 8, 2021, 12:18 PM UTC
72
[deleted]
First off, thank you for the feedback,
Yeah you're right, in this case origin doesn't refer to the "originating" tab, from which other tabs were created, but to the combination of
"protocol" + "domain" + "port"Example:
https://+amazon.com+:443If these 3 url parts match, the tabs are considert to have the same origin.
(ref. https://developer.mozilla.org/en-US/docs/Web/API/URL/origin)
In most cases ... the behaviour is the same as with just the domain part. I thought this was "cleaner" (aka. more precise/correct) than just using the domain.
But the first interpretation of closing the "children" tabs, which originated from the inital one, sounds interesting too. - I might create an addon for this too.
And done.
AMO review might take a couple of hours, but when it's though, both binge search scenarios, you described will be covered by the two addons.
Thanks again, for the suggestion.