Sử dụng history.forward() để điều hướng tới URL tiếp theo trong lịch sử (nếu có).
Ví dụ
<!DOCTYPE html>
<html>
<body>
<script>
function nextPage() { window.history.forward(); }
</script>
<input type="button" value="Next URL" onclick="nextPage()">
</body>
</html>