mirror of https://github.com/gorhill/uBlock.git
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
|
@ -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 New Issue