Neocities.org

PENCILVOID

pencilvoid.neocities.org

398,457 views
95 followers
5,627 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 1 year ago

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

owlroost 1 year 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 1 year ago

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

2 likes

Website Stats

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

Tags

art personal pencilvoid