javascript - html5 saving clicked a href link into localstorage and redirect to same link on each visit -
first need store href url in localstorage , visitor redirected same url stored in localstorage on every visit on website until visitor clicks on link , changes link.
if visitor can change link, same process should repeat , visitor should redirected new url stored in localstorage on every visit on website until visitor can click on link , change link.
1) problem in function stored url in localstorage visitor redirected previous / old url stored in cache before selection of new link, if clicking link??
2) second problem auto refresh , reload stored link
on each , every visit on website , stored link
cache cloudn't delete or change when click new link old cache showing in chrome->resources->localstorage?
Comments
Post a Comment