Click to See Complete Forum and Search --> : 'Edit With' Icons
ggonline
11-17-2003, 10:25 AM
Some websites for example the javascriptsource (http://javascript.internet.com) have the 'edit with' icon dissabled this is normally in the bar with the back and favourite buttons/icons e.t.c -how is this done & how can it be done?
Any help would be appreciated,
Thanks
toicontien
11-17-2003, 11:34 AM
I originaly thought this was a no-cache header issue, where an HTML file sent with a no-cache header disables the Edit button. I was wrong. I did the following things to disable the Edit button in IE6/Win XP
1. Dumped the IE cache. Cache Setting: Check for newer versions of stored pages - Every visit to the page. Edit button was disabled for my personal home page http://users.tm.net/gburghardt/home/ which doesn't have a no-cache header sent with the HTML file. www.cm-life.com also had the Edit button disabled. I'm the webmaster of cm-life.com and know it sends a no-cache header with HTML files.
2. Changed cache setting to Automatic. Edit button was enabled for my personal home page and for www.cm-life.com.
So, the Edit button gets disabled after you change the cache settings to check for a newer version of pages every visit to the page and delete the browser cache. The edit button being disabled seems to be entirely dependant on users' browser cache settings.
So basically you can't disable the edit button. It's along the same line as preventing people from saving images from a web page. The browser gets the HTML file regardless and stores it while you are viewing it. If it's stored anywhere (hard disk or RAM) someone can edit it.