Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-105294

Expose GetDomainAndRegistry()

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.6.0
    • None
    • WebEngine
    • None
    • 000f31fb6 (dev)

    Description

      Chromium has a function called net::registry_controlled_domains::GetDomainAndRegistry() that allows to retrieve the domain from an URL.

      In this context domain means the highest domain that is not an effective top-level domain (eTLD).

      host domain
      www.google.com google.com
      www.google.co.uk google.co.uk

      Having access to this function can be useful for integrating features based on the domain.
      An example is integrating 'adblock-rust' which recommend to use the same logic than the one used by the browser itself (see https://github.com/brave/adblock-rust#external-domain-resolution).

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            pvarga Peter Varga
            bterrier Benjamin Terrier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes