Improve set-cookie scriptlet · gorhill/uBlock@b4d8750 (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit b4d8750

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Lines changed: 2 additions & 0 deletions

Original file line number Diff line number Diff line change
@@ -1009,6 +1009,8 @@ function setCookieFn(
1009 1009 cookieParts.push(`; domain=${options.domain}`);
1010 1010 }
1011 1011 cookieParts.push('; Secure');
1012 +} else if ( /^__(Host|Secure)-/.test(name) ) {
1013 +cookieParts.push('; Secure');
1012 1014 }
1013 1015
1014 1016 try {

0 commit comments