0

i am new here in chrome extension, this is my first chrome extension ever, i have create one crome extension, when i click on icon of my extesion i am getting error, A cookie associated with a cross-site resource at http://*****.com/ was set without theSameSiteattribute., can anyone please help me how to resolve this issue ? here i have mention all the extension files, can anyone please look in to that and help me to resolve this issue ?

manifest.json

{
    "manifest_version": 2,
    "name": "Next",
    "version": "0.1",
    "background": {
        "scripts": [
            "background.js"
        ]
    },
    "browser_action": {
        "default_icon": "logo.png",
        "default_popup": "popup.html",
        "default_title": "Hi"
    }
}

background.js

var i = 1;

function updateIcon() {
    i = 1;
    chrome.browserAction.setBadgeText({
        text: ''
    });
    chrome.browserAction.setPopup({
        popup: "popup.html"
    });
}


chrome.browserAction.setBadgeBackgroundColor({
    color: [200, 0, 0, 100]
});

popup.html

<html>
<head>

</head>

<body>
    <p><iframe width="500" height="500" src="https://****.com" ></iframe></p></p>
</body>
</html>
Nikul Panchal
  • 1,542
  • 3
  • 35
  • 58

1 Answers1

1

It's not an extension specific problem. The script you load in the popup is responsible for a request that gives you the warning. If it's not under your control then there is not much you can do, the server has to be reconfigured that the script is accessing. Read this for more: SameSite warning Chrome 77

Gergely Szabo
  • 870
  • 6
  • 15