From a3bbc863c97f8c060934effaf5091c123594db58 Mon Sep 17 00:00:00 2001 From: simon Date: Sat, 25 Jun 2022 20:36:41 +0700 Subject: [PATCH] handle session epire cookies, force int expire --- extension/background.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extension/background.js b/extension/background.js index 6883f66..f10a1a8 100644 --- a/extension/background.js +++ b/extension/background.js @@ -164,7 +164,7 @@ function buildCookieLine(cookie) { "TRUE", cookie.path, cookie.httpOnly.toString().toUpperCase(), - cookie.expirationDate, + Math.trunc(cookie.expirationDate) || 0, cookie.name, cookie.value, ].join("\t");