How to populate a fake browser history?

Sebastien DErrico picture Sebastien DErrico · Jul 1, 2013 · Viewed 15k times · Source

I am working on a website related to physically/psychologically abused person.

There is an emergency exit button available all time so the user can click on it before the "aggressive" person enter the room where the computer is located.

When the user click on the emergency button, the user is automatically redirected to Google with a query like "cooking apple pie" (this is an example).

Also, we would like to hide our website from the browser history in case the aggressive person check the history of the abused person. I think this cannot be done technically.

At least, can we generate fake browsing history to justify to the aggressive person the time that the user was on our website?

I tried multiple things to simulate a "browsing" like using an iframe or an ajax query to another website but none populate the browser history.

Is this can be done?

Thank you for your input!

Answer

ojblass picture ojblass · Jul 6, 2013

I think you may be focusing too much on the browser and computer that you do not control and not enough on the content and the server that you do control. How about taking a different approach? Why not generate the pages for the user on the fly? The links are only good once. If you click on the home button (your escape key) and the aggressive person looks in the history the attempt to access them a second time could be made to display the weather or lottery results or something innocuous, Focus on what you have control over.