Google chrome extension 如何修复与位于的跨站点资源关联的cookiehttps://facebook.com/“在chrome扩展中?

Google chrome extension 如何修复与位于的跨站点资源关联的cookiehttps://facebook.com/“在chrome扩展中?,google-chrome-extension,Google Chrome Extension,我有一个Chrome扩展,我在里面放了一个类似Facebook的盒子 所有代码都是原始的Facebook代码。没有改变任何事情 最近我犯了以下错误: A cookie associated with a cross-site resource at https://facebook.com/ was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cr

我有一个Chrome扩展,我在里面放了一个类似Facebook的盒子

所有代码都是原始的Facebook代码。没有改变任何事情

最近我犯了以下错误:

A cookie associated with a cross-site resource at https://facebook.com/
was set without the `SameSite` attribute. A future release of Chrome 
will only deliver cookies with cross-site requests if they are set with 
`SameSite=None` and `Secure`. You can review cookies in developer tools 
under Application>Storage>Cookies and see more details at 
https://www.chromestatus.com/feature/5088147346030592 and 
https://www.chromestatus.com/feature/5633521622188032.
扩展与服务器无关,我做了一些Google搜索,只找到了关于PHP或Java解决方案的主题,这很奇怪


如何在我的Chrome扩展中修复它?或者我应该在他们修复任何东西之前删除类似Facebook的框吗?

VM5:1与位于的跨站点资源关联的cookie未设置SameSite属性。Chrome的未来版本将只提供带有跨站点请求的cookie,前提是这些cookie设置为SameSite=None且安全。您可以在“应用程序>存储>cookies”下查看开发人员工具中的cookies,并在和中查看更多详细信息。

这是重复的,请查看: