【发布时间】:2020-02-18 04:11:43
【问题描述】:
我有一个 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.
该扩展与服务器无关,我做了一些谷歌搜索,只找到关于 PHP 或 Java 解决方案的主题,这很奇怪。
如何在我的 Chrome 扩展程序中修复它?还是我应该在他们修复任何东西之前放弃 Facebook 的赞?
【问题讨论】: