What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-09-10 13:36:03
js window history
// go back: window.history.back() // go forward: window.history.forward() // go to specific point: window.history.go(-2) // go back 2 pages, 0 is current page window.history.go(0) // refreshes current page window.history.go() // refreshes current page // ... Add solution -
Other 2021-08-26 10:52:03
change url by jquery without refresh page
// Current URL: https://my-website.com/page_a const nextURL = 'https://my-website.com/page_b'; const nextTitle = 'My new page title'; const nextState = { additionalInformation: 'Updated the URL with JS' }; // This will create a new entry in the browser's... Add solution