View Full Version : A way to delete cache, history, and backbutton
Maynard
09-25-2008, 07:15 PM
Hello. I am running a site for domestic violence in my area and we have an ESC button just in case they need to leave the site and view the weather.
the only issue with that is, if the aggressor looks back in the cache, history, or clicks the back button, the person is in trouble.
We have safety warnings telling them to view it elsewhere if they feel they might be compromised, but I know there has got to be a way to delete the history, close out the main window or tab and erase the cache, so there is no sign of them ever visiting the site.
is there?
Maynard
http://www.womenofworthorg.org
(it is being overhauled right now)
TheJoshMan
09-25-2008, 07:26 PM
there is not *really* a way to do this.
I would suggest adding something to your "alert" at the beginning which would allow the user to "back out now" before loading page if they feel their safety may be compromised by viewing the site.
I would also suggest that the "ESC" button be larger and more noticeable. I looked for a minute or so before I saw it. I would make it "free standing" like a big red button in the upper left corner. Something you just can't miss.
Maynard
09-25-2008, 07:30 PM
Yes. we are in a rework, which is why I stopped and said, "Hey, maybe I can add this ability to it."
But since there is not a way, then, the alert will be on the pages on top--with a big red button. yes. :)
thank you for your reply Nyne Lyvez.
TheJoshMan
09-25-2008, 07:33 PM
did you catch the part about adding the "back out now" to your alert?
This may be useful to the user to be able to leave the site to go look at the weather if they feel that they may be "compromised" by viewing the site right now.
Maynard
09-25-2008, 07:41 PM
Yup. I have that on another site, well for the links, through a government ran site that requires them.
http://sq92.cawg.cap.gov
I can implement that into the main page, but hasn't the site already loaded to get to the alert?
TheJoshMan
09-25-2008, 07:45 PM
no. I would try using a "confirm" rather than an "alert" however.
<body onload="javascript: if (confirm('SAFTEY ALERT: If you are in danger or think your saftey may be compromised by veiwing this website, please click Cancel now.')) { window.location.href='index.html' } else { window.location.href='http://www.google.com' }; ">
TheJoshMan
09-25-2008, 07:53 PM
sorry for the premature reply... I had only tested in FF, IE does seem to cache the page already. FF 3 on the other hand, does not.
Maynard
09-25-2008, 07:56 PM
yeah. IE is the bane of the internet.
thanks for the try however. Most are probably using IE.
MS does create some violent people out there. :p ;)
TheJoshMan
09-25-2008, 07:58 PM
yea, i need 2 Valium before I even THINK about coding something for IE...
LOL
Maynard
09-25-2008, 08:03 PM
I have posted to your ie death march.
SWEET!!!
Where were you when it came out?
Why do people use such terrible products?
Maynard
09-25-2008, 08:06 PM
yea, i need 2 Valium before I even THINK about coding something for IE...
LOL
Sounds dangerous. Hopefully you have no sharp objects nearby or any weapons. friends should call first before coming over.
FREIND
Hey Nyne. What you doing?
NYNE
Coding for IE.
FREIND
*click*
TheJoshMan
09-25-2008, 08:12 PM
LOL
The IE-DeathMarch (http://iedeathmarch.org) isn't my creation, I just strongly promote and support it.
To answer your question about why people use such terrible products, I would say the vast majority of the people out there who are still using IE6 are doing so out of sheer ignorance. Don't get the term confused now, I'm not calling them stupid. They are just "uninformed".
I know my mother was even still using IE6 EVEN AFTER hearing me complain about it constantly! Why? She didn't have a clue as to what I was talking about number one... and number two, she didn't know that upgrading was free.
Most people who own computers are merely "point and click" and "plug and play" people. They have no idea what goes on behind the scenes, nor do they care as long as "it works".
That's the whole concept behind the death march... If you don't code a site to be compatible with IE6 and below... then from the veiwer's standpoint... It doesn't "work".
I have actually taken my site one step further to give the user no excuse to say "i didn't know". You should try viewing my site in IE 6
http://www.eight7teen.com
Maynard
09-25-2008, 08:23 PM
I don't have IE6. Nor do I want it.
But I did go to your site. Very nice indeed.
You sound like me ranting... You're not my twin are you? or my duplicate in another state?
HA.
Well, thank your for the depressing news that there is no way to delete such items, I must get back to work for the ladies.
thanks again.
Mt Dew used to be a favorite of mine, but no more soda's for me.
peace
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.