Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: JavaScript does not work on Windows 7 Machines  (Read 21200 times)

0 Members and 1 Guest are viewing this topic.

oterrya

    Topic Starter


    Rookie

    • Computer: Specs
    • Experience: Experienced
    • OS: Windows 7
    JavaScript does not work on Windows 7 Machines
    « on: November 08, 2011, 08:50:08 PM »
    I have two machines on which JavaScript does not work.  Both are running Widows 7 Pro, with IE 9.  Both machines started failing when trying to update virus protection.  In both cases, my first evidence was when the desktop applets quit working (e.g. the analog clock suddenly turned into a black square).  Since then, any JavaScript on a web page no longer functions.

    !. Laptop:  Intel i5 x64 2.7MHz 2 Head w/8G of RAM.
    Problem started when I removed the free trial of Norton Antivirus -- the purpose to install my McAfee Antivirus package Suite which was paid for.

    2. Desktop:  Intel i7 x64 2.7MHz 4 Head w/8G of RAM.
    Problem started when I uninstalled my McaFee antivirus suite -- the purpose being to reinstall it to fix a small arpp problem in Outlook.

    In both cases the problem occurred at the end of the uninstallation.  Both were still disconnected from the internet at the moment of failure.

    McAfee reports JavaScript is not working when I try to reload it.  I cannot not get anything from Microsoft's site because everything seems to require JavaScript.  As soon as I hit a link that needs JavaScript, it does not run and the page will not load.

    I have looked at several things so far without seeing any specific problems but the registry is so complex now that I suspect I could easily miss things that should be there.

    Does anyone have any suggestions as to hwere to start?

     . . . . Terry.
    . . . . Terry.

    jason2074



      Egghead

    • It doesn't matter.
    • Thanked: 224
    • Experience: Beginner
    • OS: Windows 7
    Re: JavaScript does not work on Windows 7 Machines
    « Reply #1 on: November 09, 2011, 06:21:40 AM »
    Completely remove first your McAfee protection software. Then check if all Java are properly installed. If not, install tem and then followed by your antivirus. You could do this offline.

    BC_Programmer


      Mastermind
    • Typing is no substitute for thinking.
    • Thanked: 1140
      • Yes
      • Yes
      • BC-Programming.com
    • Certifications: List
    • Computer: Specs
    • Experience: Beginner
    • OS: Windows 11
    Re: JavaScript does not work on Windows 7 Machines
    « Reply #2 on: November 09, 2011, 12:42:34 PM »
    Then check if all Java are properly installed.

    How is Java related to the problem?
    I was trying to dereference Null Pointers before it was cool.

    Geek-9pm


      Mastermind
    • Geek After Dark
    • Thanked: 1026
      • Gekk9pm bnlog
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 10
    Re: JavaScript does not work on Windows 7 Machines
    « Reply #3 on: November 09, 2011, 04:00:23 PM »
    Quote
    This is SunSpider, a JavaScript benchmark. This benchmark tests the core JavaScript language only, not the DOM or other browser APIs. It is designed to compare different versions of the same browser, and different browsers to each other. Unlike many widely available JavaScript benchmarks, this test is:
    http://www.webkit.org/perf/sunspider/sunspider.html
    SunSpider JavaScript Benchmark

    oterrya

      Topic Starter


      Rookie

      • Computer: Specs
      • Experience: Experienced
      • OS: Windows 7
      Re: JavaScript does not work on Windows 7 Machines
      « Reply #4 on: November 09, 2011, 08:34:07 PM »
      Status:

      On both machines, McAfee is not installed -- when I tried to reinstall it, my desktop came up with a blank window when it encountered some JavaScript; My laptop reported JavaScript was missing at the same point.

      Java works fine -- it tests OK.

      On the otherhand, JavaScript does not.  Whenever I encounter JavaScript on a Web page, it fails.

      The default pointers are .js ==> jsfile;  jsfile ==> wscript.exe engine (which from what I have read, is normal for a Windows 7 system).  I scanned the regisry and do not see that this is overridden there.  I may be missing something.  If I route a simple script to the wscript engine, it appears to go there and execute.

      I tried to scan the MS tech website for JavaScript problems -- unfortunately for  me, the site seems to use a lot of (you guessed it) JavaScript and I was frustrated trying to learn anything there.

      A thought just occurred to me.  Do not McAfee (desktop) and Norton (Laptop) route JavaScript web calls through their own module to check things out and could the uninstallations have not properly removed this routing?  If this could be the case, where would I check it out?

      . . . . Terry.

      oterrya

        Topic Starter


        Rookie

        • Computer: Specs
        • Experience: Experienced
        • OS: Windows 7
        Re: JavaScript does not work on Windows 7 Machines
        « Reply #5 on: November 09, 2011, 08:39:36 PM »
        Further status:

        I ran the Sunspider test before and gave up after 10 minutes.

        I have been runningit during the previous posts (something over 20 minutes now) and it does the same thing it did last time -- it immediately displays:

        ☀SunSpider JavaScript Benchmark (In Progress...)
         Content Version: sunspider-0.9.1

        and then nothing more. 

        I am concluding (as I did before) that JavaScripot is broken.

        Please see question at end of previous post.
        . . . . Terry.

        oterrya

          Topic Starter


          Rookie

          • Computer: Specs
          • Experience: Experienced
          • OS: Windows 7
          Re: JavaScript does not work on Windows 7 Machines
          « Reply #6 on: November 09, 2011, 08:56:55 PM »
          More status:

          Sunspider has been "running"? well over 60 minutes now with no addidional display.  I assumed that when it was said that the benchmark took several minutes, that this might mean 5-7 minutes on a slow machine.

          If the problem is in the registry as I am beginning to suspect, is there a good registry cleaner that could find the broken links and fix things?

          Does anyone have any other hints?

          « Last Edit: November 09, 2011, 09:16:47 PM by oterrya »
          . . . . Terry.

          BC_Programmer


            Mastermind
          • Typing is no substitute for thinking.
          • Thanked: 1140
            • Yes
            • Yes
            • BC-Programming.com
          • Certifications: List
          • Computer: Specs
          • Experience: Beginner
          • OS: Windows 11
          Re: JavaScript does not work on Windows 7 Machines
          « Reply #7 on: November 09, 2011, 09:19:38 PM »
          Does javascript work in other browsers? (Firefox, Chrome)


          you could try unregistering and then re-registering the applicable libraries:
          (Batch file)
          Code: [Select]
          @echo off
          REM for 64-bit machines, to register/unregister 32-bit components...
          for %%P in (sbdrip.dll wlsrvc.dll atl.dll scrrun.dll jscript.dll msxml3.dll) do (
          %systemroot%\SysWOW64\regsvr32 /u /s %%P
          %systemroot%\SysWOW64\regsvr32 /s %%P
          regsvr32 /u /s %%P
          regsvr32 /s %%P
          )
          run the batch file (you might need to run as admin) and reboot and see if that makes any difference.

          I was trying to dereference Null Pointers before it was cool.

          oterrya

            Topic Starter


            Rookie

            • Computer: Specs
            • Experience: Experienced
            • OS: Windows 7
            Re: JavaScript does not work on Windows 7 Machines
            « Reply #8 on: November 09, 2011, 09:51:29 PM »
            to BC_Programmerr

            I ran the process as you suggested (as a .cmd file in Admin mode) and it appeared to perform the tasks with no errors.

            Unfortunately it did not fix the problem.  Web sites still do not work and McAfee installer reports "JavaScript is not installed".

            I have not yet tried other browsers.  I need IE because of work related issues.  I have tried some others (did not like firefox -- I forget why) but have not yet tried Chrome.  I wonder if I can get it without JavaScript?

            What next?
            « Last Edit: November 09, 2011, 10:20:24 PM by oterrya »
            . . . . Terry.

            BC_Programmer


              Mastermind
            • Typing is no substitute for thinking.
            • Thanked: 1140
              • Yes
              • Yes
              • BC-Programming.com
            • Certifications: List
            • Computer: Specs
            • Experience: Beginner
            • OS: Windows 11
            Re: JavaScript does not work on Windows 7 Machines
            « Reply #9 on: November 09, 2011, 10:33:04 PM »
            I wonder if I can get it without JavaScript?

            javascript is part of the browser. Chrome and Firefox use separate implementations of javascript from IE.

            Quote
            1.  Click Start and select Run.

             

                In the Run box, type CMD and click OK.

                In the command prompt, type REGSVR32 JSCRIPT.DLL and         press ENTER.

                After the confirmation message is displayed, type REGSVR32 VBSCRIPT.DLL and press ENTER.

                Close the command prompt

                Restart.

             

            2. Run the McAfee removal tool MCPR.exe & restart the computer.

            http://service.mcafee.com/FAQDocument.aspx?id=TS100507
            I was trying to dereference Null Pointers before it was cool.

            oterrya

              Topic Starter


              Rookie

              • Computer: Specs
              • Experience: Experienced
              • OS: Windows 7
              Re: JavaScript does not work on Windows 7 Machines
              « Reply #10 on: November 09, 2011, 10:34:59 PM »
              The Chrome installer seems to need JavaScript to install.

              Firefox will not install either.  I think it may be a JavaScript issue in this case also, but I am not certain. 
              . . . . Terry.

              oterrya

                Topic Starter


                Rookie

                • Computer: Specs
                • Experience: Experienced
                • OS: Windows 7
                Re: JavaScript does not work on Windows 7 Machines
                « Reply #11 on: November 09, 2011, 10:37:50 PM »
                I meant, "I wonder if I can get it with out JavaScript being operative.  I found I cannot.

                I will try your last suggestion (I have done the first part only previously -- a week or so ago -- I will try all now.)

                Thanks.
                . . . . Terry.

                BC_Programmer


                  Mastermind
                • Typing is no substitute for thinking.
                • Thanked: 1140
                  • Yes
                  • Yes
                  • BC-Programming.com
                • Certifications: List
                • Computer: Specs
                • Experience: Beginner
                • OS: Windows 11
                Re: JavaScript does not work on Windows 7 Machines
                « Reply #12 on: November 09, 2011, 10:41:48 PM »
                The Chrome installer seems to need JavaScript to install.

                What is the EXACT error message.

                Javascript is ONLY used by the Windows Scripting Host and sidebar gadgets on a standard installation. Internet Explorer 8 has it's own separate engine, but it also uses the Scripting Host version (jscript.dll) when in quirks mode. No software installers that I'm aware of require javascript. Google Chrome's installer doesn't even contain the string "javascript", so it's not an error from the installer.

                It's probably some crap Mcaffee left behind. (Thus the removal tool)
                I was trying to dereference Null Pointers before it was cool.

                oterrya

                  Topic Starter


                  Rookie

                  • Computer: Specs
                  • Experience: Experienced
                  • OS: Windows 7
                  Re: JavaScript does not work on Windows 7 Machines
                  « Reply #13 on: November 09, 2011, 10:53:02 PM »
                  No message -- it does nothing.  When I look at the code on the web page, the button to initiate the install makes a JavaScript call.

                  Firefox also does nothing -- the scripting is beyond my ken but it seems to make an oblique reference to a JavaScript call.

                  The installers per-se do not but the web pages to get there do.

                  I am up to the point of running the McAfee removal tool (MCPR.exe) and see what happens.
                  . . . . Terry.

                  BC_Programmer


                    Mastermind
                  • Typing is no substitute for thinking.
                  • Thanked: 1140
                    • Yes
                    • Yes
                    • BC-Programming.com
                  • Certifications: List
                  • Computer: Specs
                  • Experience: Beginner
                  • OS: Windows 11
                  Re: JavaScript does not work on Windows 7 Machines
                  « Reply #14 on: November 09, 2011, 11:07:03 PM »
                  I uploaded the installers directly to my web host:

                  http://www.bc-programming.com/downloads/ChromeSetup.exe

                  http://www.bc-programming.com/downloads/Firefox%20Setup%208.0.exe

                  If  those don't work, the problem is entirely unrelated to javascript.

                  I'm beginning to suspect (assuming it's not some remnant of Mcaffee) it might be an infection.
                  I was trying to dereference Null Pointers before it was cool.