The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> go to new page and, auto-shut old page (NO back buitton)
UptonGirl
post Jul 11 2009, 08:33 PM
Post #1


Advanced Member
****

Group: Members
Posts: 142
Joined: 17-January 09
Member No.: 7,577




I may be working on a site that addresses domestic violence. (Possible class project)

If you look here: http://www.wscadv.org/

There is an "escape button" for people who may be on a public computer or may be at home with their abuser. (This is not my site- just one I am researching) The problem with it is that while it does close, and open a new window to s site that is "innocent" - the back button will immediately take anyone who looks back to the abuse site.

Is there a way to disable the back button when this link is clicked? I'd like the original site to be completely closed.

Thanks,

Ev

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Jul 11 2009, 09:37 PM
Post #2


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



Please see the FAQ entry How can I make a button that closes the window?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Jul 12 2009, 04:20 AM
Post #3


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,753
Joined: 9-August 06
Member No.: 6



Maybe you could use JS to "link" to the new page (for those that are JS-enabled, of course). If you use location.replace instead of the usual location.href, the old URL is replaced by the new on in the browser's history.
http://docs.sun.com/source/816-6408-10/location.htm

But none of this solves your problem. Daddy can click the back button twice and get to the page previously viewed which likely is on the anti-abuse site too. And there's always the cache.

While many browsers can be run in kioskmode where it's possible to disable a lot of things, it can be pretty complicated. If the kid is in a risky situation, I wonder if it wouldn't be better to use something like Off By One. It keeps cache and history in memory, nothing is written to disk. When the browser is closed, it's gone. You can run it from a USB stick or even a floppy. It won't make pages look pretty though.
http://offbyone.com/offbyone/
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Frederiek
post Jul 12 2009, 03:21 PM
Post #4


Programming Fanatic
********

Group: Members
Posts: 5,146
Joined: 23-August 06
From: Europe
Member No.: 9



QUOTE
the world's smallest and fastest web browser with full HTML 3.2 support
in 2006 tongue.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Jul 13 2009, 12:22 PM
Post #5


.
********

Group: WDG Moderators
Posts: 9,722
Joined: 10-August 06
Member No.: 7



IIRC encrypted pages (using the https:// protocol) are not cached, is that correct?

BTW the Escape button shows up to the left in Opera9, concealing the content on some pages.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
UptonGirl
post Aug 26 2009, 12:31 AM
Post #6


Advanced Member
****

Group: Members
Posts: 142
Joined: 17-January 09
Member No.: 7,577




Just an FYI:

Thank you all - each answer was good info in it's own way. The close button was the best option in the end, though not ideal - there's a catch to everything.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 21st September 2024 - 11:29 AM