[thelist] Not logging page in browser history - How?

Stephen Rider evolt_org at striderweb.com
Fri Dec 7 11:55:16 CST 2007


On Dec 7, 2007, at 10:09 AM, Jason Handby wrote:

>> I came across an interesting question today.
>> Someone asked my co-worker why was it that when he did banking with
>> citibank none of the pages (behind the password) were stored in the
>> browser's history while when he did banking with another bank all the
>> pages were in the history, even those behind the password.
>>
> One way to do this is to use Javascript on your page navigation  
> buttons:
>
> 	window.location.replace("newpage.html");
>
>
> The replace() function does not create a new entry in the browser
> history list.

It should be noted that these kinds of websites irritate those of us  
who like to use tabs, as Javascript links general break when manually  
opening in a new tab.  (I _want_ to do this at bank sites quite  
frequently, for example, to compare two different accounts).   
_Extremely_ irritating when a web site pre-empts standard  
functionality like that.

Does this kind of thing also break the "back" button?

Stephen



More information about the thelist mailing list