From 99efa5cfa34c3f9d38b75352881acdfc99508ebf Mon Sep 17 00:00:00 2001 From: tristantheb Date: Fri, 2 Apr 2021 13:50:14 +0200 Subject: UPDATE: FR-ONLY - Remove all old CompatibilityTable to replace with {{Compat()}} (#311) * UPDATE: Removing CompatibilityTable script - Part 1 * UPDATE: Removing CompatibilityTable script - Part 2 * UPDATE: Removing CompatibilityTable script - Part 3 * UPDATE: Removing CompatibilityTable script - Part 4 * UPDATE: Removing CompatibilityTable script - Part 5/5 * FIX: Repair the EOL of one page * FIX: Fix conflicting file --- files/fr/web/api/window/popstate_event/index.html | 82 +++++++---------------- 1 file changed, 25 insertions(+), 57 deletions(-) (limited to 'files/fr/web/api/window/popstate_event') diff --git a/files/fr/web/api/window/popstate_event/index.html b/files/fr/web/api/window/popstate_event/index.html index 98725fa936..f924242a05 100644 --- a/files/fr/web/api/window/popstate_event/index.html +++ b/files/fr/web/api/window/popstate_event/index.html @@ -65,60 +65,6 @@ translation_of: Web/API/Window/popstate_event -

Compatibilité des navigateurs

- -

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - -
FonctionnalitéChromeFirefox (Gecko)Internet ExplorerOperaSafari
Supportbasique{{CompatVersionUnknown}}{{CompatGeckoDesktop("2")}}10.0{{CompatVersionUnknown}}{{CompatVersionUnknown}}[1]
-
- -
- - - - - - - - - - - - - - - - - - - -
FonctionnalitéAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Support basique3.0[2]{{CompatGeckoMobile("2")}}10.0{{CompatVersionUnknown}}{{CompatVersionUnknown}}[1]
-
- -

[1] L'implémentation est supportée de façon limitée.

- -

[2] L'implémentation sous Android 2.2 et 2.3 était buggée.

-

Exemple

Une page http://example.com/example.html exécutant le code suivant génèrera un journal comme spécifié :

@@ -136,8 +82,30 @@ history.go(2); // Logs "location: http://example.com/example.html?page=3, state

Notez que même si l'entrée d'historique originelle (pour http://example.com/example.html) n'a pas d'objet state associé, un événement popstate est tout de même exécuté lorsque nous activons cette entrée au second appel à history.back().

-

Événements liés

+

Spécifications

+ + + + + + + + + + + + + + +
SpécificationStatut
{{SpecName('HTML WHATWG', 'indices.html#event-popstate', 'popstate')}}{{Spec2('HTML WHATWG')}}
+ +

Compatibilité des navigateurs

+ +

{{Compat("api.Window.popstate_event")}}

+ +

Voir aussi

+
  • Manipulation de l'historique du navigateur (l'API History)
  • +
  • Window : événement hashchange
  • + -- cgit v1.2.3-54-g00ecf