psl icon indicating copy to clipboard operation
psl copied to clipboard

Interest in isCookieDomainAcceptable()

Open ShivanKaul opened this issue 5 years ago • 0 comments

Hi! Just wondering if there's any interest in implementing a function along the lines of isCookieDomainAcceptable() from libpsl: https://rockdaboot.github.io/libpsl/libpsl-Public-Suffix-List-functions.html#psl-is-cookie-domain-acceptable

This might be useful for cookie handling libraries that currently have to call psl.get() and implement their own logic around checking for cookie validity. I understand if this library wants to remain small, but I noticed this useful function in libpsl and wondered if there was interest in including it in the JS counterpart.

ShivanKaul avatar Aug 28 '20 21:08 ShivanKaul