Skip to content Skip to sidebar Skip to footer

Is There A Javascript Api To Browser History Information (limited To Current Domain)

Is there a programmatic API to tell what are the recently visited pages (30 days) within my site? I know such information is already stored in the browser history. As far as secu

Solution 1:

There is nothing in the history api that will give you that information from your domain. If you want to do it, use the browsers localstorage to store the URLS when the page loads. Other option is to keep track of it on the server and store it in your database.


Post a Comment for "Is There A Javascript Api To Browser History Information (limited To Current Domain)"