URL
Widely available
A URL
object represents a web address, like https://example.com/
, and parts of the address, such as the domain, path, and query string (as URLSearchParams
).
To learn more, see
URL API at MDN.
Compatibility (view on caniuse.com)
- Chrome 32 Released on 2014-01-14
- Chrome Android 32 Released on 2014-01-15
- Edge 12 Released on 2015-07-29
- Firefox 19 Released on 2013-02-19
- Firefox for Android 19 Released on 2013-02-19
- Safari 7 Released on 2013-10-22
- Safari on iOS 7 Released on 2013-09-18
Specifications
- URL Standard, from URL Workstream (WHATWG).