Gif animations can no longer be easily stopped by extensions
Categories
(WebExtensions :: General, defect, P3)
Tracking
(firefox-esr91 unaffected, firefox93 unaffected, firefox94 wontfix, firefox95 wontfix, firefox96 wontfix)
Tracking | Status | |
---|---|---|
firefox-esr91 | --- | unaffected |
firefox93 | --- | unaffected |
firefox94 | --- | wontfix |
firefox95 | --- | wontfix |
firefox96 | --- | wontfix |
People
(Reporter: soeren.hentzschel, Unassigned)
References
(Regression)
Details
(Keywords: regression)
STR:
- install an add-on like https://addons.mozilla.org/en-US/firefox/addon/superstop/
- load an website with Gif images like https://www.animierte-gifs.net/
- press the toolbar button
Expected:
The Gif animations stop.
Actual:
The images are still animated.
Comment 1•3 years ago
|
||
So I unzipped that add-on and it's doing window.stop()
and relying on it to stop the gif animation, which is precisely what we avoided in bug 1730834. I could make it do something different when called from an extension or something but it seems sub-optimal. We could expose an extension API to stop animations. I commented in https://github.com/gavinsharp/SuperStop/issues/16 about this, happy to help there.
Updated•3 years ago
|
I believe we should provide a separate API available to extensions to stop gif animations.
If possible, that API would provide the ability to either stop an individual gif animation or all animations.
Additionally, it should work with other animations such as jxl animations (depending on whether firefox supports them at the time this change is merged).
Comment 3•3 years ago
|
||
I don't know if this helps or not but I have found that the add-on, Togglific, is able to stop gif animation but it does not work on webp and maybe others. Perhaps someone could expand on whatever technique Toggliifc is using.
(I am just a user, not a web expert)
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Description
•