Scriptlets icon indicating copy to clipboard operation
Scriptlets copied to clipboard

Cannot set a cookie value containing dot using trusted-set-cookie

Open piquark6046 opened this issue 3 months ago • 1 comments

AdGuard Browser Extension MV2 5.2.112.84 on Firefox cannot set a cookie value containing ..

Exmaple:

https://github.com/AdguardTeam/AdguardFilters/issues/217266

beautywelt.de#%#//scriptlet('trusted-set-cookie', 'gh7', '6.3.', '/', 'beautywelt.de')

piquark6046 avatar Nov 13 '25 23:11 piquark6046

Probably incorrect order, and path and domain are in a wrong place? https://github.com/AdguardTeam/Scriptlets/blob/master/wiki/about-trusted-scriptlets.md#-%EF%B8%8F-trusted-set-cookie

Should works:

beautywelt.de#%#//scriptlet('trusted-set-cookie', 'gh7', '6.3.', '', '/', 'beautywelt.de')

By the way, it seems that even if cookie is set by scriptlet it does not fix cookie notice.

AdamWr avatar Nov 14 '25 07:11 AdamWr