Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite history API guide; delete old example #30354

Merged
merged 5 commits into from
Nov 20, 2023
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions files/en-us/_redirects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1385,7 +1385,7 @@
/en-US/docs/DOM/LinkStyle /en-US/docs/Web/API/HTMLLinkElement
/en-US/docs/DOM/Locating_DOM_elements_using_selectors /en-US/docs/Web/API/Document_object_model/Locating_DOM_elements_using_selectors
/en-US/docs/DOM/Manipulating_the_browser_history /en-US/docs/Web/API/History_API
/en-US/docs/DOM/Manipulating_the_browser_history/Example /en-US/docs/Web/API/History_API/Example
/en-US/docs/DOM/Manipulating_the_browser_history/Example /en-US/docs/Web/API/History_API/Working_with_the_History_API
/en-US/docs/DOM/MediaQueryList /en-US/docs/Web/API/MediaQueryList
/en-US/docs/DOM/MediaQueryListListener /en-US/docs/Web/API/MediaQueryList
/en-US/docs/DOM/MediaStream /en-US/docs/Web/API/MediaStream
Expand Down Expand Up @@ -8617,6 +8617,7 @@
/en-US/docs/Web/API/HashChangeEvent/HashChangeEvent.oldURL /en-US/docs/Web/API/HashChangeEvent/oldURL
/en-US/docs/Web/API/Headers/getAll /en-US/docs/Web/API/Headers/get
/en-US/docs/Web/API/History.length /en-US/docs/Web/API/History/length
/en-US/docs/Web/API/History_API/Example /en-US/docs/Web/API/History_API/Working_with_the_History_API
/en-US/docs/Web/API/IDBCursor.advance /en-US/docs/Web/API/IDBCursor/advance
/en-US/docs/Web/API/IDBCursor.continue /en-US/docs/Web/API/IDBCursor/continue
/en-US/docs/Web/API/IDBCursor.delete /en-US/docs/Web/API/IDBCursor/delete
Expand Down Expand Up @@ -11992,7 +11993,7 @@
/en-US/docs/Web/Guide/API/DOM/Events/Using_device_orientation_with_3D_transforms /en-US/docs/Web/API/Device_orientation_events/Using_device_orientation_with_3D_transforms
/en-US/docs/Web/Guide/API/DOM/Locating_DOM_elements_using_selectors /en-US/docs/Web/API/Document_object_model/Locating_DOM_elements_using_selectors
/en-US/docs/Web/Guide/API/DOM/Manipulating_the_browser_history /en-US/docs/Web/API/History_API
/en-US/docs/Web/Guide/API/DOM/Manipulating_the_browser_history/Example /en-US/docs/Web/API/History_API/Example
/en-US/docs/Web/Guide/API/DOM/Manipulating_the_browser_history/Example /en-US/docs/Web/API/History_API/Working_with_the_History_API
/en-US/docs/Web/Guide/API/DOM/Storage /en-US/docs/Web/API/Web_Storage_API
/en-US/docs/Web/Guide/API/DOM/The_structured_clone_algorithm /en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm
/en-US/docs/Web/Guide/API/DOM/Using_dynamic_styling_information /en-US/docs/Web/API/CSS_Object_Model/Using_dynamic_styling_information
Expand Down Expand Up @@ -12061,7 +12062,7 @@
/en-US/docs/Web/Guide/DOM/Events/Using_device_orientation_with_3D_transforms /en-US/docs/Web/API/Device_orientation_events/Using_device_orientation_with_3D_transforms
/en-US/docs/Web/Guide/DOM/Locating_DOM_elements_using_selectors /en-US/docs/Web/API/Document_object_model/Locating_DOM_elements_using_selectors
/en-US/docs/Web/Guide/DOM/Manipulating_the_browser_history /en-US/docs/Web/API/History_API
/en-US/docs/Web/Guide/DOM/Manipulating_the_browser_history/Example /en-US/docs/Web/API/History_API/Example
/en-US/docs/Web/Guide/DOM/Manipulating_the_browser_history/Example /en-US/docs/Web/API/History_API/Working_with_the_History_API
/en-US/docs/Web/Guide/DOM/Storage /en-US/docs/Web/API/Web_Storage_API
/en-US/docs/Web/Guide/DOM/The_structured_clone_algorithm /en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm
/en-US/docs/Web/Guide/DOM/Using_dynamic_styling_information /en-US/docs/Web/API/CSS_Object_Model/Using_dynamic_styling_information
Expand Down
17 changes: 0 additions & 17 deletions files/en-us/_wikihistory.json
Original file line number Diff line number Diff line change
Expand Up @@ -42313,23 +42313,6 @@
"peterson.victor222"
]
},
"Web/API/History_API/Example": {
"modified": "2019-09-05T07:52:37.814Z",
"contributors": [
"irenesmith",
"RichWK",
"sunnywalker",
"teoli",
"fusionchess",
"wbamberg",
"alispivak",
"sickOfNamesPasswordsetc",
"wctaiwan",
"Sheppy",
"giabao",
"jamel"
]
},
"Web/API/History_API/Working_with_the_History_API": {
"modified": "2019-12-27T13:55:25.264Z",
"contributors": [
Expand Down
2 changes: 0 additions & 2 deletions files/en-us/web/api/history/replacestate/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ URL passed in the method parameters. This method is particularly useful
when you want to update the state object or URL of the current history entry in response
to some user action.

This method is {{glossary("asynchronous")}}. Add a listener for the {{domxref("Window/popstate_event", "popstate")}} event in order to determine when the navigation has completed. The `state` parameter will be available in it.

## Syntax

```js-nolint
Expand Down
Loading