From 6687161be666bd391f0da7551d26b546e33c2fe8 Mon Sep 17 00:00:00 2001 From: thebigwasp Date: Sun, 27 Mar 2022 00:15:27 +0300 Subject: [PATCH] Fix domain-only flag --- src/export.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/export.js b/src/export.js index 26af137..0923e92 100644 --- a/src/export.js +++ b/src/export.js @@ -296,7 +296,7 @@ function build_domain_dump(cookie) { '{ISHTTPONLY_RAW}': cookie.httpOnly, '{SAMESITE_RAW}': cookie.sameSite ? cookie.sameSite : "no_restriction", '{ISDOMAIN}': get_domain_status(false), - '{ISDOMAIN_RAW}': cookie.hostOnly, + '{ISDOMAIN_RAW}': !cookie.hostOnly, '{STORE_RAW}': cookie.storeId, '{FPI_RAW}': cookie.firstPartyDomain ? cookie.firstPartyDomain : "", // This attr is absent on old FF };