Attach window viewport to browser window

Is it possible to attach window viewport to browser window rather than to document.body?

impossible