DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
how to detect a url change
window.addEventListener('popstate', function (event) { // The URL changed... });
Source by gomakethings.com #
PREVIOUS
NEXT
Tagged:
#detect
#url
#change
ADD COMMENT
Topic
COMMENT
Name
4+6 =
Submit