L
L
Locket2021-03-10 20:49:11
JavaScript
Locket, 2021-03-10 20:49:11

How to track site URL changes without reloading the page?

I am making an extension in which the URL should be tracked specifically on YouTube, where the site does not reload when switching to a video. I tried to use and read the documentation, but really did not find anything. You need to track that the user is on the site with the video. Who can faced it?window.addEventListener("hashchange", function)
60490610391ae681558799.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question