About 243,000 results
Open links in new tab
  1. javascript - How to make an HTML back link? - Stack Overflow

    Jan 11, 2012 · Learn how to create an HTML back link using JavaScript and navigate to the previous page with ease.

  2. How can I delete a window.history state? - Stack Overflow

    Jan 28, 2023 · Using the HTML5 window.history API, I can control the navigation pretty well on my web app. The app currently has two states: selectDate (1) and enterDetails (2). When the app loads, I …

  3. How do I use window.history in JavaScript? - Stack Overflow

    history.replaceState (state, title [, location]) This function replaces the current history state. It takes three arguments, though the last one is optional. The arguments are: state - This is the most important …

  4. html - How to clear history of text input - Stack Overflow

    Nov 30, 2021 · This Stack Overflow thread discusses methods to clear the history of text input in HTML forms.

  5. javascript - history.replaceState () example? - Stack Overflow

    Oct 11, 2012 · Can any one give a working example for history.replaceState? This is what w3.org says: history.replaceState(data, title [, url ] ) Updates the current entry in the session history to have the given

  6. javascript - How to get notified about changes of the history via ...

    So now that HTML5 introduces history.pushState to change the browsers history, websites start using this in combination with Ajax instead of changing the fragment identifier of the URL. Sadly that ...

  7. How to get the previous URL in JavaScript? - Stack Overflow

    Aug 20, 2010 · 0 Javascript can execute history.back() but there is no return value and cannot be reacted upon, and the browser just goes back one page in its session history. You cannot infer what …

  8. javascript - window.history.back () not working. - Stack Overflow

    Provides solutions for resolving issues with the JavaScript method window.history.back() not functioning as expected.

  9. Clear html history created by pushState on refresh

    Apr 9, 2014 · If you read the specification of History API for pushState, in step 4 it states If the method invoked was the pushState() method: Remove all the entries in the browsing context's session …

  10. javascript - history.backが、成功したり失敗したりする理由は? - ス …

    Feb 15, 2016 · 質問1ですが、 history.back() で移動するページを最初に表示した際に、URLを直接入力したり、リンクから移動した場合はメッセージが表示されず、ボタン等から移動した場合は表示さ …