how can we determine if window.history is from a certain URL like www.example.com , and then do something for example :
if ( //window.history includes example.com string ) {
$('.myclassname').hide()
}
it actually needs to know the link location of history ... is there any way to find it out ?