Improve Firefox compatibility

master v0.1
Nikola Forró 6 years ago
parent 5ca559e70d
commit 0a8a1a551a

2
.gitignore vendored

@ -1,2 +1,4 @@
.web-extension-id
gog-affiliate-token-keeper.xpi
gog-affiliate-token-keeper.crx
gog-affiliate-token-keeper.pem

@ -9,7 +9,7 @@ chrome.runtime.onMessage.addListener(
if (request.message === 'set_gog_cookies') {
COOKIES.forEach(function(name) {
let cookie = {
url: 'https://*.gog.com',
url: 'https://www.gog.com/',
name: name,
value: TOKEN,
domain: DOMAIN,

@ -1 +1 @@
chrome.runtime.sendMessage({"message": "set_gog_cookies"});
chrome.runtime.sendMessage({message: 'set_gog_cookies'});

Loading…
Cancel
Save