-2
At first, I’ve seen some similar questions around here, but virtually none of them fit/don’t work in my scenario. It is as follows: I need a script to be executed (in my case, a button to be automatically clicked) only once (possibly by recording a cookie, I believe...) when a user accesses the page in question and disables that same script for any subsequent page access or refresh. How can I proceed?
It is possible to do this using
cookies
or thelocalStorage
. But it is possible to clear this data and the button be activated again.– Valdeir Psr