A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/dom/Window/URL below:

URL ยท WebPlatform Docs

URL Summary

Sets or gets the URL for the current document.

Property of dom/Windowdom/Window

Syntax
var string = document.URL;
document.URL = value;
Return Value

Returns an object of type StringString

the URL of the current web document.

Examples

This example function returns the URL property of the current document.

function getURL()
{
    return document.URL;
}
Notes Remarks

The URL property is case-sensitive. This property is an alias for the location.href property on the window.

Syntax Standards information Attributions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4