Skip to content

Commit ef9c7b3

Browse files
committed
Set SameSite=Lax for the cookie to fix remote debugging after redirects like in OAuth flow
1 parent b59100c commit ef9c7b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/content.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ var xdebug = (function() {
44
{
55
var exp = new Date();
66
exp.setTime(exp.getTime() + (days * 24 * 60 * 60 * 1000));
7-
document.cookie = name + "=" + value + "; expires=" + exp.toGMTString() + "; path=/; SameSite=Strict";
7+
document.cookie = name + "=" + value + "; expires=" + exp.toGMTString() + "; path=/; SameSite=Lax";
88
}
99

1010
// Get the content in a cookie

0 commit comments

Comments
 (0)