Baseline Widely DOM API
api.URL.search
Granular MDN Browser Compat Data support history across 16 tracked browsers.
Specification Area
DOM API
Standard track
First Core Launch
Firefox 22
2013-06-25
Core-3 Stability
1,183d (3.2y)
Last: Safari (2016-09-20)
Baseline Feature
Widely
URL
Browser Support Timeline
Notes (2)
Firefox: Before Firefox 53,pathname and search returned wrong values for custom protocols. Given protocol:host/x?a=true&b=false, pathname would return "/x?a=true&b=false" and search would return "", rather than "/x" and "?a=true&b=false" respectively. See bug 1310483.FF And: Before Firefox for Android 53, pathname and search returned wrong values for custom protocols. Given protocol:host/x?a=true&b=false, pathname would return "/x?a=true&b=false" and search would return "", rather than "/x" and "?a=true&b=false" respectively. See bug 1310483.Full Browser Compatibility Table
| Browser | Type | Version | Release Date | Status / Caveats |
|---|---|---|---|---|
| Chrome | desktop | 32 | 2014-01-14 | Supported |
| Firefox | desktop | 22 | 2013-06-25 | Supported |
| Safari | desktop | 10 | 2016-09-20 | Supported |
| Edge | desktop | 13 | 2015-11-12 | Supported |
| Chrome Android | mobile | 32 | 2014-01-15 | Supported |
| Firefox for Android | mobile | 22 | 2013-06-25 | Supported |
| Safari on iOS | mobile | 10 | 2016-09-13 | Supported |
| WebView Android | mobile | 4.4.3 | 2014-06-02 | Supported |
| WebView on iOS | mobile | 10 | 2016-09-13 | Supported |
| Samsung Browser | mobile | 2.0 | 2014-10-17 | Supported |
| Opera | desktop | 19 | 2014-01-28 | Supported |
| Opera Android | mobile | 19 | 2014-01-28 | Supported |
| Deno | server | 1.0 | 2020-05-13 | Supported |
| Node.js | server | 6.13.0 | 2018-02-13 | Supported |
| Bun | server | 1.0.0 | 2023-09-08 | Supported |
| Quest Browser | xr | 5.0 | 2018-07-01 | Supported |
| Internet Explorer | desktop | — | — | — |