Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
| Search | Today's Posts | Mark Forums Read
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 29th, 2005, 06:20 AM
Authorized User
 
Join Date: Jul 2003
Location: , , .
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to forbidden IE refresh button?

Any one knows how to forbidden IE6's refresh button with Javascript?

Thanks.

 
Old January 29th, 2005, 02:01 PM
Friend of Wrox
 
Join Date: Nov 2003
Location: , , .
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

This topic has been discussed many times before, on multiple forums including this one.

The general conclusion is that no, you cannot keep a user from refreshing the page.

You can hide the button by opening a new window, but they can right-click and refresh, or hit F5 and refresh.

-Snib - http://www.snibworks.com
Where will you be in 100 years?
 
Old February 2nd, 2005, 08:52 AM
Friend of Wrox
Points: 8,019, Level: 38
Points: 8,019, Level: 38 Points: 8,019, Level: 38 Points: 8,019, Level: 38
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2005
Location: Mauchline, East Ayrshire, Scotland
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco
Default

you can do it if they accept a registry change, is that not correct snib? but who would?

 
Old February 9th, 2005, 11:26 PM
Friend of Wrox
 
Join Date: Nov 2003
Location: , , .
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

crmpicco,

Sorry for the late reply, been away several days.

I don't know if there's a way, even with the user accepting a registry change. I would look at MSDN and Google to find out.

>> but who would?

I agree with you, under most circumstances. Sometimes a network of computers will have all their IEs set up to accept this kind of change, though.

hth,

-Snib - http://www.snibworks.com
Where will you be in 100 years?




Similar Threads
Thread Thread Starter Forum Replies Last Post
Button to refresh a grid? scandalous ASP.NET 2.0 Basics 1 December 5th, 2007 01:21 PM
Refresh GridView Using Refresh Button msbsam ASP.NET 2.0 Professional 0 December 6th, 2006 05:57 AM
refresh the page when using back button hastikeyvan Classic ASP Professional 1 May 12th, 2006 11:08 AM
How to disable browser's refresh button ? sherbir Javascript 3 September 15th, 2004 11:42 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.