Skip to main content

class URL

The URL class provides a convenient interface for creating and parsing URLs.

Properties:

  • URL.hash
  • URL.host
  • URL.hostname
  • URL.href
  • URL.origin
  • URL.password
  • URL.pathname
  • URL.port
  • URL.protocol
  • URL.search

Properties (Sciter specific):

  • URL.filename
  • URL.dir
  • URL.extension

Methods:

  • URL.guessMimeType()
  • URL.fromPath(path):string
  • URL.toPath(url):string