diff options
Diffstat (limited to 'files/fr/mozilla/add-ons/webextensions/api/browsersettings/imageanimationbehavior/index.html')
| -rw-r--r-- | files/fr/mozilla/add-ons/webextensions/api/browsersettings/imageanimationbehavior/index.html | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/files/fr/mozilla/add-ons/webextensions/api/browsersettings/imageanimationbehavior/index.html b/files/fr/mozilla/add-ons/webextensions/api/browsersettings/imageanimationbehavior/index.html new file mode 100644 index 0000000000..4797de6b5e --- /dev/null +++ b/files/fr/mozilla/add-ons/webextensions/api/browsersettings/imageanimationbehavior/index.html @@ -0,0 +1,38 @@ +--- +title: browserSettings.imageAnimationBehavior +slug: Mozilla/Add-ons/WebExtensions/API/browserSettings/imageAnimationBehavior +tags: + - API + - Add-ons + - Extensions + - Property + - Reference + - browserSettings + - imageAnimationBehavior +translation_of: Mozilla/Add-ons/WebExtensions/API/browserSettings/imageAnimationBehavior +--- +<div>{{AddonSidebar()}}</div> + +<p>Un objet {{WebExtAPIRef("types.BrowserSetting", "BrowserSetting")}} qui peut être utilisé pour modifier la façon dont le navigateur traite les images animées, telles que les GIF.</p> + +<p>La valeur sous-jacente est une chaîne qui peut prendre l'une des trois valeurs suivantes:</p> + +<ul> + <li>"normal": la valeur par défaut Jouer des images animées comme d'habitude.</li> + <li>"none": n'anime pas les images du tout.</li> + <li>"once": joue une fois l'animation.</li> +</ul> + +<h2 id="Compatibilité_du_navigateur">Compatibilité du navigateur</h2> + +<p class="hidden">The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> and send us a pull request.</p> + +<p>{{Compat("webextensions.api.browserSettings.imageAnimationBehavior", 10)}}</p> + +<h2 id="Exemples">Exemples</h2> + +<p>Désactiver les images animées :</p> + +<pre class="brush: js"> browser.browserSettings.imageAnimationBehavior.set({value: "none"});</pre> + +<p>{{WebExtExamples}}</p> |
