Greasemonkey: privacy.firstparty.isolate=true 中断 GM.xmlHttpRequest

创建于 2018-07-17  ·  2评论  ·  资料来源: greasemonkey/greasemonkey

我得到cookie is undefined and Unchecked lastError value: Error: First-Party Isolation is enabled, but the required 'firstPartyDomain' attribute was not set when running a GM userscript call GM.xmlHttpRequest() with privacy.firstparty.isolate ( First -Party Isolation )启用(设置为true ):

gm xmlhttprequest privacy firstparty isolate

目前,这意味着我正在禁用第一方隔离,但我希望有一个解决方案或变通方法可以使这项工作更好。

如果它很重要(不应该,我在 FF 61 上),我已经按照ghacks 解决方法明确允许 GM 设置 cookie。

最有用的评论

对此有何更新?

所有2条评论

对此有何更新?

没有我知道的更新,@eternal-sorrow。 当privacy.firstparty.isolate设置为true时,我仍然会遇到此问题,无论其配套设置privacy.firstparty.isolate.restrict_opener_access的值如何(现在在 Firefox 63.0.1 上)。

此页面是否有帮助?
0 / 5 - 0 等级