CookieStorage
The Document property cookie lets you read and write cookies associated with the document.
Note: The CookieStorage interface is more sophisticated than the actual browser cookie interface. It is structured similar to the LocalStorage/SessionStorage interface.