Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: how to disable view source in toolbar of the browse using javascript


Message #1 by "ARUN RAGAVAN" <arun_r9@h...> on Sat, 28 Jul 2001 18:57:06 +0530
What would be the point?  Anyone can simply disable script in their internet
options, meaning your flashy disable code would never execute.

I find the best way to "hide" script is to put it in a seperate file and use
a statement like this to include it:
<script language="JavaScript" src="file.js"></script>

You could always disable script in your own browser and then visit the sites
you refered to and sneak a look at their source...  but when you're up
against anyone with a bit of know-how, it's an exercise in futility.

Cheers,

Rob

-----Original Message-----
Subject: how to disable view source in toolbar of the browse using
javascript
From: "ARUN RAGAVAN" <arun_r9@h...>
Date: Sat, 28 Jul 2001 18:57:06 +0530
X-Message-Number: 1

Hello
I want to know the code for disabling view source from the toolbar
of the browser.
Many have said it is not possible but i have gone through some
sites where that is being done.

cheers
Arun

Phone: 0161 874 7000 
Fax: 0161 874 7001
Email: postmaster@f...




  Return to Index