GO-V.ORG
As seen in

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

3 results across 6 corpora for publicSuffix.DomainEncoding.

Developer library 3

publicSuffix

me. To use this API, you must have the `"publicSuffix"` [permission](/docs/Mozilla/Add-ons/WebExtensions/manifest.json/permissions). ## Types - publicSuffix.DomainEncoding - : Specifies the encoding format for domain names returned by publicSuffix.getDomain(). ## Functions - publicSuffix.isKnownSuffix() - : Returns `true` if the hostname is a known public suffix. - publicSuffix.getKnownSuffix() - : Returns

publicSuffix.DomainEncoding

The encoding format for domain names returned by publicSuffix.getDomain(). ## Type Values of this type are strings. Possible values are: - `"punycode"` - : Returns the domain in [Punycode](https://en.wikipedia.org/wiki/Punycode) (ASCII-compatible encoding, ACE). This value is the default. - `"display"` - : Returns the domain in Unicode form, suitable for display to users. If the Unicode representation contains

publicSuffix.getDomain()

hostname to extract the registrable domain from. - `options` - : `object`. Options that control the returned value. - `encoding` - : publicSuffix.DomainEncoding. The encoding to use for the returned domain name. Defaults to `"punycode"`. - `allowIPAddress` - : `boolean`. If `true` and `hostname` is an IP address, the IP address is returned as-is. Defaults to `false`. - `allowPlainSuffix`

JSON results · Services directory