이 문서는 아직 자원 봉사자들이 한국어로 번역하지 않았습니다. 참여해서 번역을 마치도록 도와 주세요!
English (US)의 문서도 읽어보세요.

Non-standard
This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

Obsolete
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

The obsolete and non-standard method back() on the Window interface returns the window to the previous item in the history. This was a Firefox-specific method and was removed in Firefox 31. Use the standard history.back() method instead.

Syntax

window.back();

Parameters

None.

Return value

undefined.

Example

This simple example handles a click on a "Back" button by calling back().

function handleMyBackButton() { 
  if (canGoBack) {
    window.back();
  }
}

Specification

This is not part of any specification.

Browser compatibility

This non-standard method was only implemented in Firefox, and was removed in Firefox 31.

See also

문서 태그 및 공헌자

최종 변경자: mdnwebdocs-bot,