You could use a html snippet (https://appstore.home.mendix.com/link/app/56/Mendix/HTML/-JavaScript-Snippet) and add some html + javascript:
<button onclick="goForward()">Go Forward</button>
<script>
function goForward() {
window.history.forward();
}
</script>
You can embed the Script inside the HTML head Section of the Index Page.
That way you don't need to use the HTML Snippet.