Quick Escape Done Right

Demonstrates a quick escape link with and without a onclick="document.write('loading...')" to quickly hide the page, then redirect.

Without document.write

Notice the delay of loading the next page with this link.

Quick Escape

With document.write

Notice the page is instantly hidden with a loding message until the next page shows up. Here we also use window.location.replace(); so the previous URL is not in history (no back button).

Quick Escape