469,621 Members | 1,685 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,621 developers. It's quick & easy.

How disable JS in MSIE 6?


I find I cannot disable javascript in MSIE 6
I've Help'd, Google'd, and searched here to no avail.

<noscript>
You don't have javascript enabled
</noscript>

will not display for me.

Mason C
Jul 23 '05 #1
11 3086
MasonC wrote:
I find I cannot disable javascript in MSIE 6
I've Help'd, Google'd, and searched here to no avail.

<noscript>
You don't have javascript enabled
</noscript>

will not display for me.

Mason C


It could be this. You can't disable JavaScript for scripts running off your
local machine, AFAIK.
Jul 23 '05 #2
DU
MasonC wrote:
I find I cannot disable javascript in MSIE 6
I've Help'd, Google'd, and searched here to no avail.

<noscript>
You don't have javascript enabled
</noscript>

will not display for me.

Mason C

Tools/Internet Options.../Security tab/Choose Internet Zone, say
Internet/Custom Level... button/Scripting category/Active
Scripting/Disable radio button

DU
Jul 23 '05 #3
On Wed, 14 Apr 2004 10:55:04 +1200, "Nik Coughin" <nr***********@woosh.co.nz> wrote:
MasonC wrote:
I find I cannot disable javascript in MSIE 6
I've Help'd, Google'd, and searched here to no avail.

<noscript>
You don't have javascript enabled
</noscript>

will not display for me.

Mason C
It could be this. You can't disable JavaScript for scripts running off your
local machine, AFAIK.


Thank you! That's the answer. I was working on code off line.

Mason C


Jul 23 '05 #4
MasonC wrote:
On Wed, 14 Apr 2004 10:55:04 +1200, "Nik Coughin" <nr***********@woosh.co.nz> wrote:

MasonC wrote:
I find I cannot disable javascript in MSIE 6
I've Help'd, Google'd, and searched here to no avail.

<noscript>
You don't have javascript enabled
</noscript>

will not display for me.

Mason C


It could be this. You can't disable JavaScript for scripts running off your
local machine, AFAIK.

Thank you! That's the answer. I was working on code off line.


No its not. Its irrelevant whether you are on or off line, you can still
disable it. See DU's post.
--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/
Jul 23 '05 #5
Randy Webb wrote:
MasonC wrote:
On Wed, 14 Apr 2004 10:55:04 +1200, "Nik Coughin"
<nr***********@woosh.co.nz> wrote:

It could be this. You can't disable JavaScript for scripts running
off your local machine, AFAIK.

Thank you! That's the answer. I was working on code off line.


No its not. Its irrelevant whether you are on or off line, you can
still disable it. See DU's post.


Wrong. Try it. Get an .html file with some Javascript in it and put it on
your Desktop, or in My Documents, or anywhere else on your HDD for that
matter. Disable Javascript in IE using DU's instructions. Then open the
html file. Oh! The Javascript still works. I ran into this a while ago
while trying to test the <noscript> part of a web page.
Jul 23 '05 #6
On Thu, 15 Apr 2004 09:48:26 +1200, "Nik Coughin"
<nr***********@woosh.co.nz> wrote:
Wrong. Try it. Get an .html file with some Javascript in it and put it on
your Desktop, or in My Documents, or anywhere else on your HDD for that
matter. Disable Javascript in IE using DU's instructions.


Okay, modify DU's instruction for doing it in the zone which the
desktop is contained, you can block all javascript in IE in all zones,
you just have to do it!

Jim.
--
comp.lang.javascript FAQ - http://jibbering.com/faq/

Jul 23 '05 #7
On Sat, 17 Apr 2004 16:36:55 GMT, ji*@jibbering.com (Jim Ley) wrote:
On Thu, 15 Apr 2004 09:48:26 +1200, "Nik Coughin"
<nr***********@woosh.co.nz> wrote:
Wrong. Try it. Get an .html file with some Javascript in it and put it on
your Desktop, or in My Documents, or anywhere else on your HDD for that
matter. Disable Javascript in IE using DU's instructions.


Okay, modify DU's instruction for doing it in the zone which the
desktop is contained, you can block all javascript in IE in all zones,
you just have to do it!

Jim.


Please give *detailed* instructions. I've tried everything
I can think of. Javascript persists.

Mason C
Jul 23 '05 #8
On Sat, 17 Apr 2004 17:46:32 GMT, MasonC <ma****@ix.netcom.xyz.com>
wrote:
Please give *detailed* instructions. I've tried everything
I can think of. Javascript persists.


DU did, do it on every ZONE. if not RTFM.

Jim.
--
comp.lang.javascript FAQ - http://jibbering.com/faq/

Jul 23 '05 #9
On Sat, 17 Apr 2004 18:06:12 GMT, ji*@jibbering.com (Jim Ley) wrote:
On Sat, 17 Apr 2004 17:46:32 GMT, MasonC <ma****@ix.netcom.xyz.com>
wrote:
Please give *detailed* instructions. I've tried everything
I can think of. Javascript persists.


DU did, do it on every ZONE. if not RTFM.

Jim.


I'd like to hear from someone who has actually done it.

Mason C

Jul 23 '05 #10
On Sun, 18 Apr 2004 03:03:47 GMT, MasonC <ma****@ix.netcom.xyz.com>
wrote:
On Sat, 17 Apr 2004 18:06:12 GMT, ji*@jibbering.com (Jim Ley) wrote:
On Sat, 17 Apr 2004 17:46:32 GMT, MasonC <ma****@ix.netcom.xyz.com>
wrote:
Please give *detailed* instructions. I've tried everything
I can think of. Javascript persists.


DU did, do it on every ZONE. if not RTFM.

Jim.


I'd like to hear from someone who has actually done it.


Yes, I have, exactly as DU described...

Jim.
--
comp.lang.javascript FAQ - http://jibbering.com/faq/

Jul 23 '05 #11
MasonC wrote:
On Sat, 17 Apr 2004 18:06:12 GMT, ji*@jibbering.com (Jim Ley) wrote:
On Sat, 17 Apr 2004 17:46:32 GMT, MasonC <ma****@ix.netcom.xyz.com>
wrote:
Please give *detailed* instructions. I've tried everything
I can think of. Javascript persists.


DU did, do it on every ZONE. if not RTFM.

Jim.


I'd like to hear from someone who has actually done it.

Mason C


Windows XP and IE6SP1, ymmv:

Start -> Run
type "regedit" (no quotes), hit enter
browser to
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Internet
Settings\Zones\0
double-click "1400" in the right-pane
change the value from "0" to "3", click OK (use "1" to be prompted to
run script)

Now IE will not run client-side script and will display HTML content
between <noscript> and </noscript> in the "My Computer" Zone.

To verify this value is in fact the setting to disable ActiveScripting,
change the ActiveScripting setting for the "Internet" Zone and watch the
value of "1400" change under
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Internet
Settings\Zones\3. For development, the easiest thing to do would
probably be to set it to always prompt (set the value of "1400" to "1")
under
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Internet
Settings\Zones\0 but that might get annoying.

For something a little more advanced:

scripton.reg:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Internet
Settings\Zones\0]
"1400"=dword:00000000

scriptoff.reg

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Internet
Settings\Zones\0]
"1400"=dword:00000003

Double-clicking each .reg file will have the named effect.

Lastly, changing HKEY_CURRENT_USER to HKEY_LOCAL_MACHINE does *not*
affect all users (at least not if you don't reboot, and I didn't reboot,
so I don't know if rebooting overrides the behaviour of HKCU or not,
someone else can try that).

--
| Grant Wagner <gw*****@agricoreunited.com>

* Client-side Javascript and Netscape 4 DOM Reference available at:
*
http://devedge.netscape.com/library/...ce/frames.html

* Internet Explorer DOM Reference available at:
*
http://msdn.microsoft.com/workshop/a...ence_entry.asp

* Netscape 6/7 DOM Reference available at:
* http://www.mozilla.org/docs/dom/domref/
* Tips for upgrading JavaScript for Netscape 7 / Mozilla
* http://www.mozilla.org/docs/web-deve...upgrade_2.html
Jul 23 '05 #12

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Ralph A. Gable | last post: by
reply views Thread by Alex Bell | last post: by
1 post views Thread by Bob | last post: by
9 posts views Thread by PJ6 | last post: by
1 post views Thread by ticmanis | last post: by
9 posts views Thread by Laurent ARNAL | last post: by
2 posts views Thread by Kim | last post: by
8 posts views Thread by alamodgal | last post: by
reply views Thread by devrayhaan | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.