[Feature Request] add new protected (aka. frozen) tab state
Categories
(Firefox :: Tabbed Browser, enhancement)
Tracking
()
People
(Reporter: b3a3imewbt, Unassigned)
Details
Steps to reproduce:
I wanted to create an addon, which would allow a user to protect tabs from accidental closing or navigating away from.
Protected from closing like a "pinned tab" but without the change in "tab size and position" and addionally protected from changes via webnavigation and webrequests (even sites using ajax should not be able to modify the page as long as it is in this state, since that would be against user expectations)
Actual results:
I did not find a adequate way to simulate this behaviour.
There seems to be no equivalent to a normal size pinned tab (which cant be accidentally closed) and accidental userinput seems to be able to change the tab ... even when webrequests are blocked.
Expected results:
Would be nice to have a way to freeze/protect tabs in this way.
Comment 1•3 years ago
|
||
This is more of a request for a Firefox feature.
If we implemented this as an extension API, Firefox would still need to add some UI to inform the user what's happening (and probably allow them to control it). Without that, we can't just let extensions "freeze" tabs without taking into account user experience.
If an extension wants to preserve a content of a tab, they should be able to take a snapshot of html.
So unless the Firefox fronted team wants to add such a feature, closing this as wontfix.
![]() |
Reporter | |
Comment 2•3 years ago
|
||
Guess i placed this into the wrong component. Sorry.
![]() |
Reporter | |
Updated•3 years ago
|
Comment 3•3 years ago
|
||
Setting a component for this enhancement in order to get the dev team involved.
If you feel it's an incorrect one please feel free to change it to a more appropriate one.
![]() |
Reporter | |
Comment 4•3 years ago
|
||
@Andrei Purice:
Thank you.
![]() |
Reporter | |
Comment 5•3 years ago
|
||
A small clarification/extension to the inital description:
Javascript execution of anykind should also be locked/disabled when a tab is transitions into this frozen state, aswell to prevent any kind (for example time or event based) page manipulation.
![]() |
Reporter | |
Comment 6•3 years ago
|
||
Also any media / graphics animation via CSS,SVG, GIF, mov, mp4, etc. should also be disabled.
Microsoft Edge has this feature: https://blogs.windows.com/msedgedev/2022/04/07/sleeping-tabs-edge-100-improvements/
There was already an issue about this: https://bugzilla.mozilla.org/show_bug.cgi?id=1545701
![]() |
Reporter | |
Comment 9•2 years ago
|
||
(In reply to 08xjcec48 from comment #8)
There was already an issue about this: https://bugzilla.mozilla.org/show_bug.cgi?id=1545701
Thanks for letting me know.
The only difference might be the protected part, that should help against accidental closing of tabs.
I imagine that this is not included in the paused/sleeping tab proposal.
But maybe it would be best to open a seperate request for this.
Description
•