mirror of
https://github.com/tubearchivist/browser-extension.git
synced 2025-03-12 16:40:14 +00:00
Merge branch 'master' into v0.5-update
This commit is contained in:
commit
492db3ed3c
@ -195,9 +195,12 @@ async function cookieStr(cookieLines) {
|
||||
}
|
||||
|
||||
function buildCookieLine(cookie) {
|
||||
// 2nd argument controls subdomains, and must match leading dot in domain
|
||||
let includeSubdomains = cookie.domain.startsWith('.') ? 'TRUE' : 'FALSE';
|
||||
|
||||
return [
|
||||
cookie.domain,
|
||||
'TRUE',
|
||||
includeSubdomains,
|
||||
cookie.path,
|
||||
cookie.httpOnly.toString().toUpperCase(),
|
||||
Math.trunc(cookie.expirationDate) || 0,
|
||||
|
Loading…
Reference in New Issue
Block a user