Prevent the webapp to change window

Prevent the webapp to change window while user click links