mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 01:02:08 +01:00
Improve set-cookie
scriptlet
Related feedback: https://github.com/uBlockOrigin/uBlock-issues/issues/3178#issuecomment-2178502856
This commit is contained in:
parent
8e3eaf1cc8
commit
b4d8750f44
1 changed files with 2 additions and 0 deletions
|
@ -1009,6 +1009,8 @@ function setCookieFn(
|
|||
cookieParts.push(`; domain=${options.domain}`);
|
||||
}
|
||||
cookieParts.push('; Secure');
|
||||
} else if ( /^__(Host|Secure)-/.test(name) ) {
|
||||
cookieParts.push('; Secure');
|
||||
}
|
||||
|
||||
try {
|
||||
|
|
Loading…
Reference in a new issue