<script>
window.onload = function() {
setTimeout(function() {
- location.replace("prerender_page.html");
+ // Wait until after load so webkitprerenderload counts aren't flaky.
+ var url = "prerender_page.html";
+ if (location.search)
+ url = decodeURIComponent(location.search.substring(1));
+ location.replace(url);
});
};
</script>