Reference Index > Browser Objects
from https://html.spec.whatwg.org/multipage/obsolete.html#htmldirectoryelementinterface Window { [Unforgeable]readonly attribute WindowProxy window; [Replaceable]readonly attribute WindowProxy self; [Unforgeable]readonly attribute Document document;attribute DOMString name; [PutForwards=href, Unforgeable]readonly attribute Location location;readonly attribute History history;readonly attribute CustomElementRegistry customElements; [Replaceable]readonly attribute BarProp locationbar; [Replaceable]readonly attribute BarProp menubar; [Replaceable]readonly attribute BarProp personalbar; [Replaceable]readonly attribute BarProp scrollbars; [Replaceable]readonly attribute BarProp statusbar; [Replaceable]readonly attribute BarProp toolbar;attribute DOMString status; void close();readonly attribute boolean closed; void stop(); void focus(); void blur(); [Replaceable]readonly attribute WindowProxy frames; [Replaceable]readonly attribute unsigned long length; [Unforgeable]readonly attribute WindowProxy? top;attribute any opener; [Replaceable]readonly attribute WindowProxy? parent;readonly attribute Element? frameElement; WindowProxy? open(optional USVString url = "about:blank", optional DOMString target = "_blank", optional [TreatNullAs=EmptyString] DOMString features = "");readonly attribute Navigator navigator; [SecureContext]readonly attribute ApplicationCache applicationCache; void alert(); void alert(DOMString message); boolean confirm(optional DOMString message = ""); DOMString? prompt(optional DOMString message = "", optional DOMString default = ""); void print(); void postMessage(any message, USVString targetOrigin, optional sequence<object> transfer = []); void postMessage(any message, optional WindowPostMessageOptions options); };
from https://html.spec.whatwg.org/multipage/obsolete.html#htmldirectoryelementpartial interface Window { void captureEvents(); void releaseEvents(); [Replaceable, SameObject]readonly attribute External external; };
from https://html.spec.whatwg.org/multipage/obsolete.html#htmldirectoryelementinterface WindowLocalStorage {readonly attribute Storage localStorage; };
from https://drafts.csswg.org/cssom/#extensions-to-the-window-interfaceinterface WindowSessionStorage {readonly attribute Storage sessionStorage; };
from https://drafts.csswg.org/cssom-view/#extensions-to-the-window-interfacepartial interface Window { [NewObject] CSSStyleDeclaration getComputedStyle(Element elt, optional CSSOMString? pseudoElt); };
from https://w3c.github.io/deviceorientation/#deviceorientationpartial interface Window { [NewObject] MediaQueryList matchMedia(CSSOMString query); [SameObject, Replaceable]readonly attribute Screen screen; void moveTo(long x, long y); void moveBy(long x, long y); void resizeTo(long x, long y); void resizeBy(long x, long y); [Replaceable]readonly attribute long innerWidth; [Replaceable]readonly attribute long innerHeight; [Replaceable]readonly attribute double scrollX; [Replaceable]readonly attribute double pageXOffset; [Replaceable]readonly attribute double scrollY; [Replaceable]readonly attribute double pageYOffset; void scroll(optional ScrollToOptions options); void scroll(unrestricted double x, unrestricted double y); void scrollTo(optional ScrollToOptions options); void scrollTo(unrestricted double x, unrestricted double y); void scrollBy(optional ScrollToOptions options); void scrollBy(unrestricted double x, unrestricted double y); [Replaceable]readonly attribute long screenX; [Replaceable]readonly attribute long screenY; [Replaceable]readonly attribute long outerWidth; [Replaceable]readonly attribute long outerHeight; [Replaceable]readonly attribute double devicePixelRatio; };
from https://w3c.github.io/deviceorientation/#devicemotionpartial interface Window {attribute EventHandler ondeviceorientation; };
};partial interface Window {attribute EventHandler ondevicemotion; };
Function | Implementation status |
close | Complete |
stop | Complete |
focus | Complete |
blur | Complete |
open | Dummy |
alert | Complete |
confirm | Dummy |
prompt | Dummy |
Complete | |
postMessage | Dummy |
captureEvents | Complete |
releaseEvents | Complete |
getComputedStyle | Dummy |
matchMedia | Dummy |
moveTo | Complete |
moveBy | Complete |
resizeTo | Complete |
resizeBy | Complete |
scroll | Complete |
scroll | Complete |
scrollTo | Complete |
scrollTo | Complete |
scrollBy | Complete |
scrollBy | 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".