Reference Index > Browser Objects
};interface Location { [Unforgeable] stringifierattribute USVString href; [Unforgeable]readonly attribute USVString origin; [Unforgeable]attribute USVString protocol; [Unforgeable]attribute USVString host; [Unforgeable]attribute USVString hostname; [Unforgeable]attribute USVString port; [Unforgeable]attribute USVString pathname; [Unforgeable]attribute USVString search; [Unforgeable]attribute USVString hash; [Unforgeable] void assign(USVString url); [Unforgeable] void replace(USVString url); [Unforgeable] void reload(); [Unforgeable, SameObject]readonly attribute DOMStringList ancestorOrigins; };
Function | Implementation status |
assign | Complete |
replace | Complete |
reload | Complete |
Device type | Support Status |
Desktop PC browsers | Yes |
HBBTV 1.5 devices | Yes |
HBBTV 2.0.x devices | Yes |
This page has been generated automatically from source code by the CoyoteBrowser InfoTool on Tue Jan 05 16:54:08 2021 . Some design elements from MDN are used under CC-BY-SA license from "Mozilla Contributors".