From dc13eee32aecd9613cad81dd189d21e473977b9c Mon Sep 17 00:00:00 2001 From: randomshell Date: Wed, 6 May 2020 10:05:06 +0000 Subject: [PATCH] Fix for first party isolation in Firefox Fixes #2624 --- src/drivers/webextension/js/driver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/webextension/js/driver.js b/src/drivers/webextension/js/driver.js index 5059c4837..ea1f219eb 100644 --- a/src/drivers/webextension/js/driver.js +++ b/src/drivers/webextension/js/driver.js @@ -146,7 +146,7 @@ browser.runtime.onConnect.addListener((port) => { const url = wappalyzer.parseUrl(port.sender.tab ? port.sender.tab.url : ''); - const cookies = await browser.cookies.getAll({ domain: `.${url.hostname}` }); + const cookies = await browser.cookies.getAll({ domain: `.${url.hostname}`, firstPartyDomain: `.${url.hostname}` }); let response;