chrisblakley / Nebula

Nebula is a WordPress theme framework that focuses on enhancing development. The core features of Nebula make it a powerful tool for designing, developing, and analyzing WordPress websites consistently, yet its deliberately uncomplicated code syntax also serves as a learning resource for programmers themselves.
https://nebula.gearside.com
GNU General Public License v3.0
144 stars 36 forks source link

Start using the async Cookie Store API when it is available [🟥 awaiting full support] #2080

Open chrisblakley opened 4 years ago

chrisblakley commented 4 years ago

Looks like the async Cookie Store API is available in Chrome 87, so once it spreads to the other browsers we can replace Nebula's cookie functions with this API.

Some info: https://medium.com/nmc-techblog/introducing-the-async-cookie-store-api-89cbecf401f

Does not appear to be on caniuse.com yet. Will update when I find it.

Setting Cookies:

1_7BXhD9a1ZejR5cDLo_1HCA

Getting Cookies:

1_78dyOtivZ4MQDi0Vyr1kLQ

Delete a Cookie

1_JLqioxOAEb4Rxb6Emgsi9A

Monitor Cookie Changes

This is a really cool idea– looking forward to thinking about ideas here. 1_Fi8HFd7jUitpqj6FfO5-QA

chrisblakley commented 4 years ago

Looks like it is being added to caniuse now: https://caniuse.com/cookie-store-api

chrisblakley commented 3 years ago

https://caniuse.com/cookie-store-api

Going to be a while:

Screen Shot 2021-02-12 at 8 35 44 AM
chrisblakley commented 1 year ago

Still awaiting support in both Firefox and Safari as of July 2023...

Screen Shot 2023-07-24 at 5 20 31 PM