Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Omit from history

Status
Not open for further replies.

JRBeltman

IS-IT--Management
Joined
Feb 5, 2004
Messages
290
Location
NL
Hi all,

I need to omit a certain page from the browser history.
This is for a section about domestic violence and we would not like the violent partner to find out that someone has been looking at this page.

What are the possibilities? Pages are in plain HTML

JR
IT = Logic (except for a well known OS where it equals luck) -> Back to the Basics!
 

location.replace("blah.html");

seems to just redirect to a different page. However when I go to the history I can still see what page I have been on :(

Also, when using location.replace I believe the user must click on the link?

But I am afraid most won't understand.

So ideally I would like to prevent the page getting into the history onload.


JR
IT = Logic (except for a well known OS where it equals luck) -> Back to the Basics!
 
So ideally I would like to prevent the page getting into the history onload.

That is just flat-out impossible to do with javascript.

The best you can do is give instructions on the page of how to clear the user's cache and history, or give them a downloadable link to an application that will do it for them. And even then, you'll probably want them to remove that application from their machine once it's done.

Sorry, but I don't think you're going to be able to accomplish what you're wanting thru any easily automated process.

-kaht

Looking for a puppy?

silky-icon-left.gif
[small]Silky Terriers are small, relatively odorless dogs that shed no fur and make great indoor pets.[/small]
silky-icon-right.gif
 
That is just flat-out impossible to do with javascript.

Sorry, I take that back. You could probably write up some ActiveX routine to automate clearing the cache and history. But that would require the users to be using IE and would prompt a security warning about malicious programs compromising their computer.

Not a very desirable solution.....

-kaht

Looking for a puppy?

silky-icon-left.gif
[small]Silky Terriers are small, relatively odorless dogs that shed no fur and make great indoor pets.[/small]
silky-icon-right.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top