var hlist = window.history.length; //length of history
var hisArr = []; // empty array store prev history
for ( i = 0; i <= hlist; i++ ) {
hisArr.push( url );
};
You cannot get url from history object, check the manual
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With