Z:gnu-linterna magica.texi--b4ab6c-First the cookies are removed/en

First the cookies are removed by setting their expiration dates in the past. A request on the background (XMLHttpRequest) for the video page (for example watch?v=x) is made. The required data is extracted and the replacement video object is created. Cookies values can be saved before the request and restored later, but not their original expiration dates. Restored cookies will expire when the browser is closed. This hack might break login/favourites/recently watched and other features for sites supported this way. The browser will automatically set new values to some of the cookies with the background request.