Fix for first party isolation in Firefox

Fixes #2624
main
randomshell 5 years ago committed by GitHub
parent e963572d84
commit dc13eee32a
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}` });
const cookies = await browser.cookies.getAll({ domain: `.${url.hostname}`, firstPartyDomain: `.${url.hostname}` });
let response;