cookie set in file protocol polyphill code example
Example: js-cookie
//using js-cookie
//Setting A Cookie
Cookies.set('name', 'value')
Cookies.set('name', 'value', { expires: 7 })
Cookies.set('name', 'value', { expires: 7, path: '' })
//Reading A Cookie
Cookies.get('name') // => 'value'
//Read ALL cookies
Cookies.get()
//Delete Cookie
Cookies.remove('name')