I'm trying to set my country on Hetzner via scriptlet but it seems the scriptlet is buggy.
hetzner.com#%#//scriptlet('trusted-set-cookie-reload','__Secure-Hetzner_CountryCode','ot') adds the cookie but it gets overridden by default setting (DE) while
hetzner.com#%#//scriptlet('trusted-set-cookie-reload','__Secure-Hetzner_CountryCode','ot') causes a reload loop on the website.
Related issue - https://github.com/AdguardTeam/AdguardFilters/issues/187095
It looks like that cookie name with
__Secure-
prefix (the same for__Host-
) requiressecure
flag otherwise it will be not set. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie#attributes