Neocities.org

PENCILVOID

pencilvoid.neocities.org

236,250 views
83 followers
4,848 updates
0 tips
one downside of using LocalStorage for settings is that they don't expire automatically. the best i can do is checking for expiration once you load a page. though the LocalStorage API is much less weird than the cookie API so that's a plus
1 like
pencilvoid 8 months ago

i still don't know how to remove a cookie in JS

owlroost 8 months ago

According to https://www.w3schools.com/js/js_cookies.asp , you set the cookie's expire date to sometime in the past. AKA you force it to delete itself.

1 like
pencilvoid 8 months ago

that's so weird??? what if a time traveller visits my site

2 likes

Website Stats

Last updated 2 weeks ago
CreatedJun 22, 2018
Site Traffic Stats

Tags

art personal pencilvoid