title | slug | page-type | status | ||
---|---|---|---|---|---|
Window.forward() |
Web/API/Window/forward |
web-api-instance-method |
|
{{APIRef}}{{Non-standard_header}} {{deprecated_header}}
Moves the window one document forward in history. This was a Firefox-specific method and was removed in Firefox 31.
Note: Use the standard {{domxref("History.forward", "history.forward()")}} method instead.
forward()
None.
None ({{jsxref("undefined")}}).
function goForward() {
if (canGoForward) {
window.forward();
}
}
This is not part of any specification.
This non-standard method was only implemented in Firefox, and was removed in Firefox 31.
- {{domxref("History.back()")}}
- {{domxref("History.forward()")}}