Window JavaScript Tutorial

The focus() method places focus on the window.