This is what I came up with, but it doesn't seem to work.
function prev() {window.history.forward(); window.location.href = 'google.com';}
setTimeout(prev(), 0); window.onunload = function() { null }
This is what I came up with, but it doesn't seem to work.
function prev() {window.history.forward(); window.location.href = 'google.com';}
setTimeout(prev(), 0); window.onunload = function() { null }
I don't think you can, but you can warn users using
window.onbeforeunloadthat they are gonna navigate back. This might not work in Opera though.