browserSettings.imageAnimationBehavior
Ein BrowserSetting
Objekt, das verwendet werden kann, um die Art und Weise zu ändern, wie der Browser animierte Bilder, wie z.B. GIFs, behandelt.
Der zugrunde liegende Wert ist ein String, der einen von drei Werten annehmen kann:
- "normal": der Standard. Animierte Bilder wie gewohnt abspielen.
- "none": Bilder überhaupt nicht animieren.
- "once": die Animation einmal abspielen.
Browser-Kompatibilität
Report problems with this compatibility data on GitHubdesktop | mobile | ||||||
---|---|---|---|---|---|---|---|
imageAnimationBehavior |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Beispiele
Animierte Bilder deaktivieren:
js
browser.browserSettings.imageAnimationBehavior.set({ value: "none" });