How disable JS in MSIE 6?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • MasonC

    #1

    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
  • Nik Coughin

    #2
    Re: How disable JS in MSIE 6?

    MasonC wrote:[color=blue]
    > 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[/color]

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


    Comment

    • DU

      #3
      Re: How disable JS in MSIE 6?

      MasonC wrote:[color=blue]
      > 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[/color]


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

      DU

      Comment

      • MasonC

        #4
        Re: How disable JS in MSIE 6?

        On Wed, 14 Apr 2004 10:55:04 +1200, "Nik Coughin" <nrkn!no-spam!@woosh.co. nz> wrote:
        [color=blue]
        >MasonC wrote:[color=green]
        >> 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[/color]
        >
        >It could be this. You can't disable JavaScript for scripts running off your
        >local machine, AFAIK.[/color]

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

        Mason C[color=blue]
        >[/color]

        Comment

        • Randy Webb

          #5
          Re: How disable JS in MSIE 6?

          MasonC wrote:[color=blue]
          > On Wed, 14 Apr 2004 10:55:04 +1200, "Nik Coughin" <nrkn!no-spam!@woosh.co. nz> wrote:
          >
          >[color=green]
          >>MasonC wrote:
          >>[color=darkred]
          >>>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[/color]
          >>
          >>It could be this. You can't disable JavaScript for scripts running off your
          >>local machine, AFAIK.[/color]
          >
          >
          > Thank you! That's the answer. I was working on code off line.[/color]

          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.javas cript FAQ - http://jibbering.com/faq/

          Comment

          • Nik Coughin

            #6
            Re: How disable JS in MSIE 6?

            Randy Webb wrote:[color=blue]
            > MasonC wrote:[color=green]
            >> On Wed, 14 Apr 2004 10:55:04 +1200, "Nik Coughin"
            >> <nrkn!no-spam!@woosh.co. nz> wrote:[color=darkred]
            >>>
            >>> It could be this. You can't disable JavaScript for scripts running
            >>> off your local machine, AFAIK.[/color]
            >>
            >>
            >> Thank you! That's the answer. I was working on code off line.[/color]
            >
            > No its not. Its irrelevant whether you are on or off line, you can
            > still disable it. See DU's post.[/color]

            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.


            Comment

            • Jim Ley

              #7
              Re: How disable JS in MSIE 6?

              On Thu, 15 Apr 2004 09:48:26 +1200, "Nik Coughin"
              <nrkn!no-spam!@woosh.co. nz> wrote:
              [color=blue]
              >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.[/color]

              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.javas cript FAQ - http://jibbering.com/faq/

              Comment

              • MasonC

                #8
                Re: How disable JS in MSIE 6?

                On Sat, 17 Apr 2004 16:36:55 GMT, jim@jibbering.c om (Jim Ley) wrote:
                [color=blue]
                >On Thu, 15 Apr 2004 09:48:26 +1200, "Nik Coughin"
                ><nrkn!no-spam!@woosh.co. nz> wrote:
                >[color=green]
                >>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.[/color]
                >
                >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.[/color]

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

                Mason C

                Comment

                • Jim Ley

                  #9
                  Re: How disable JS in MSIE 6?

                  On Sat, 17 Apr 2004 17:46:32 GMT, MasonC <masonc@ix.netc om.xyz.com>
                  wrote:
                  [color=blue]
                  >Please give *detailed* instructions. I've tried everything
                  >I can think of. Javascript persists.[/color]

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

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

                  Comment

                  • MasonC

                    #10
                    Re: How disable JS in MSIE 6?

                    On Sat, 17 Apr 2004 18:06:12 GMT, jim@jibbering.c om (Jim Ley) wrote:
                    [color=blue]
                    >On Sat, 17 Apr 2004 17:46:32 GMT, MasonC <masonc@ix.netc om.xyz.com>
                    >wrote:
                    >[color=green]
                    >>Please give *detailed* instructions. I've tried everything
                    >>I can think of. Javascript persists.[/color]
                    >
                    >DU did, do it on every ZONE. if not RTFM.
                    >
                    >Jim.[/color]

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

                    Mason C

                    Comment

                    • Jim Ley

                      #11
                      Re: How disable JS in MSIE 6?

                      On Sun, 18 Apr 2004 03:03:47 GMT, MasonC <masonc@ix.netc om.xyz.com>
                      wrote:
                      [color=blue]
                      >On Sat, 17 Apr 2004 18:06:12 GMT, jim@jibbering.c om (Jim Ley) wrote:
                      >[color=green]
                      >>On Sat, 17 Apr 2004 17:46:32 GMT, MasonC <masonc@ix.netc om.xyz.com>
                      >>wrote:
                      >>[color=darkred]
                      >>>Please give *detailed* instructions. I've tried everything
                      >>>I can think of. Javascript persists.[/color]
                      >>
                      >>DU did, do it on every ZONE. if not RTFM.
                      >>
                      >>Jim.[/color]
                      >
                      >I'd like to hear from someone who has actually done it.[/color]

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

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

                      Comment

                      • Grant Wagner

                        #12
                        Re: How disable JS in MSIE 6?

                        MasonC wrote:
                        [color=blue]
                        > On Sat, 17 Apr 2004 18:06:12 GMT, jim@jibbering.c om (Jim Ley) wrote:
                        >[color=green]
                        > >On Sat, 17 Apr 2004 17:46:32 GMT, MasonC <masonc@ix.netc om.xyz.com>
                        > >wrote:
                        > >[color=darkred]
                        > >>Please give *detailed* instructions. I've tried everything
                        > >>I can think of. Javascript persists.[/color]
                        > >
                        > >DU did, do it on every ZONE. if not RTFM.
                        > >
                        > >Jim.[/color]
                        >
                        > I'd like to hear from someone who has actually done it.
                        >
                        > Mason C[/color]

                        Windows XP and IE6SP1, ymmv:

                        Start -> Run
                        type "regedit" (no quotes), hit enter
                        browser to
                        HKEY_CURRENT_US ER\Software\Mic rosoft\Windows\ CurrentVersion\ 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_US ER\Software\Mic rosoft\Windows\ CurrentVersion\ 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_US ER\Software\Mic rosoft\Windows\ CurrentVersion\ 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_US ER\Software\Mic rosoft\Windows\ CurrentVersion\ Internet
                        Settings\Zones\ 0]
                        "1400"=dword:00 000000

                        scriptoff.reg

                        Windows Registry Editor Version 5.00

                        [HKEY_CURRENT_US ER\Software\Mic rosoft\Windows\ CurrentVersion\ Internet
                        Settings\Zones\ 0]
                        "1400"=dword:00 000003

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

                        Lastly, changing HKEY_CURRENT_US ER to HKEY_LOCAL_MACH INE 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 <gwagner@agrico reunited.com>

                        * Client-side Javascript and Netscape 4 DOM Reference available at:
                        *


                        * 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


                        Comment

                        Working...