aaronius / get-apex-domain Goto Github PK
View Code? Open in Web Editor NEWReturns the apex domain (aka base, bare, naked, root apex, or zone apex domain) of the current web page without the use of a public suffix list. The apex domain is also the top-most domain that allows for setting cookies.
License: MIT License