mozilla
Your Search Results

    window.URL Redirect 1

    « DOM Reference « Window

    This is an experimental technology
    Because this technology's specification has not stabilized, check the compatibility table for the proper prefixes to use in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the spec changes.

    The Window.URL property returns a URL object that provides static methods used for creating and managing object URLs.

    It is good practice to call the URL constructor instead of using this property.

    Syntax

    url = window.URL;

    Specification

    Specification Status Comment
    URL Living Standard Initial definition.

    Browser compatibility

    Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
    Basic support 8.0 as webkitURL 4.0 (2.0) (non-standard interface returned) [1]
    19.0 (19.0)
    10.0 15.0 as webkitURL 6.0 as webkitURL
    Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
    Basic support (Yes)as webkitURL 14.0 (14.0)(non-standard name) [1]
    19.0 (19.0)
    (Yes) 15.0 as webkitURL 6.0 as webkitURL

    [1] From Gecko 2 (Firefox 4) to Gecko 18 included, Gecko returned an object with the non-standard nsIDOMMozURLProperty internal type. In practice, this didn't make any difference.W

    Document Tags and Contributors

    Contributors to this page: Sheppy
    Last updated by: Sheppy,
    Hide Sidebar