Can Browsers Block Local Storage?
Disclaimer: Due to my lack of knowledge on the subject, my question may lack in details. I'll go ahead and revise it if necessary
Introduction
Hey everyone,
When I visit some websites, I get a notification saying "This website wants to leave you cookies" and below that I have the choice to allow or block that website.
I often use local storage to save small variables locally. I saw a cookie notification the other day and wondered if my local variables get blocked.
Question
Websites can block cookies, but can they block local variables as well?
Context
In my specific case, I'm using a countdown timer. In order to make things seem realistic, I'm saving the last value of the timer to local storage. That way, when users refresh the page, the countdown timer doesn't jump back up to its original value.
Thanks!