Fix previous commit

The value should be null to always get all cookies and not only first-party isolation cookies.

From https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/cookies:
"When first-party isolation is off, the firstPartyDomain parameter is optional and defaults to an empty string.  A non-empty string can be used to retrieve or modify first-party isolation cookies."
main
randomshell 5 years ago committed by GitHub
parent dc13eee32a
commit 4e730a0490
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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}`, firstPartyDomain: `.${url.hostname}` });
const cookies = await browser.cookies.getAll({ domain: `.${url.hostname}`, firstPartyDomain: null });
let response;

Loading…
Cancel
Save