Re: file not found or server unavailable web site links

anonymous_at_discussions.microsoft.com
Date: 07/15/04


Date: Thu, 15 Jul 2004 06:55:00 -0700

This code appears in the cache on my unit when it happens
and definely looks like a virus writter script deletion
and regeneration code that tracks data. Follwing is the
code. I don't know how to read it self but opening lines
tell what it oeds apaprently.

<!-- Hide script from old browsers
var ie = (navigator.appName.indexOf("Microsoft") >= 0)
var

cookieString = document.cookie;
var filterState = getCookieValue("hF");
if(filterState == ""){
        

filterState = "max"
}

function getCookieValue(cookieName){
        var retVal = "";
        var

cookieStart = cookieString.indexOf(cookieName + "=");
        if(cookieStart != -1){
                var valStart =

cookieStart + cookieName.length + 1;
                var valEnd = cookieString.indexOf(";",
valStart);
        

        if(valEnd == -1){
                        valEnd = cookieString.length;
                }
                

retVal = cookieString.substring(valStart, valEnd);
        }
        return retVal;
}

function

changeState(browser){
  if(!document.getElementById) return; // this example
only for DOM browsers
  

//still need to know what the class wil be for the
minimized version...
  objMax =

document.getElementById('fM');
  objMin = document.getElementById('fMc');

  var visNet = "";
  

if(browser == "Netscape"){ visNet = "f";}
   
  if(filterState == "max") {
    //currently max...

switch to min
    document.images['togM'].src
= 'http://ly.lygo.com/ly/hbot/utils/max.gif';
        

filterState = "min";
        objMax.className = 'n' + visNet;
        objMin.className = '';
        

document.cookie = "hF=min";
  } else {
    //currently min... switch to max
    

document.images['togM'].src
= 'http://ly.lygo.com/ly/hbot/utils/min.gif';
    filterState = "max";
    

objMax.className = '';
    objMin.className = 'n' + visNet;
    document.cookie = "hF=max";
  }
}

function isIE4() {
                return( navigator.appName.indexOf
("Microsoft") != -1 &&

(navigator.appVersion.charAt(0)=='4') );
        }

        function launchHelp(helpurl) {
                

HelpWin = window.open(helpurl,

'HelpWindow','toolbar=no,location=no,directories=no,status
=yes,menubar=no,scrollbars=yes,resizable=yes

,copyhistory=no,width=500,height=500');

                if( ! isIE4() ) {
                        if

(HelpWin.focus) {
                                HelpWin.focus();
                        }
                

}

                if (HelpWin.focus!=null && !isIE4() )
                  {
                   

HelpWin.focus();
                  }

                if (HelpWin.opener == null)
HelpWin.opener = window;
        

        HelpWin.opener.name = "LycosMain";
}

function update_ad (objDiv)
{
        var newad =

Math.floor(Math.random()*10000000);
        var url = "";
        if (objDiv["length"])
                for (var i =

0; i < objDiv.length; i++)
                { var url = objDiv[i].src;
                        url =

url.substr (0, url.lastIndexOf (';ord=')) + ";ord=" +
newad;
                        objDiv[i].src = url;
        

        }
        else
        { var url = objDiv.src;
                url = url.substr (0, url.lastIndexOf

(';ord=')) + ";ord=" + newad;
                objDiv.src = url;
        }
}

function loseDiv(cookieName) {
        

var nextYear = "Thu, 01-Jan-04 00:00:01 GMT"
        if (cookieName == "an") {
                if (ie) {
        

                document.all.aN.style.display = "none"
                } else {
                        

document.getElementById("aN").style.display = "none"
                }
                document.cookie =

cookieName + "=n; expires=" + nextYear
        } else {
                document.cookie = cookieName + "="
        

}
}

function checkBox(which) {
        eval("document.forms[0]."+which+".checked =
\"true\"");
}

function resetForm(which,wordFilterNumber) {
        document.forms[0].adf[1].checked = 1
        if (which !=

"Teoma") {
                document.forms[0].lang[0].selected = 1
                document.forms[0].dfe.value =

""
                document.forms[0].dfi.value = ""
                document.forms[0].date[0].checked = 1
        

        document.forms[0].past[0].selected = 1
                document.forms[0].dateop[0].selected = 1
        

        document.forms[0].month[0].selected = 1
                document.forms[0].day.value = ""
        

        document.forms[0].year[0].selected = 1
                for (i=1; i <= wordFilterNumber; i++) {
        

                eval("document.forms
[0].wfr"+i+"[1].selected = 1")
                        

eval("document.forms[0].wfw"+i+"[0].selected = 1")
                        

eval("document.forms[0].wfq"+i+".value = \"\"")
                }
                if ((which ==

"FAST")||(which == "Inktomi")) {
                        document.forms[0].rf[0].selected
= 1
                

        for (i=0; i < 14; i++) {
                                

eval("document.forms[0].pc["+i+"].checked = 0")
                        }
                        

document.forms[0].pcxq.value = ""
                }
        }
        if (document.forms[0].add_language)

{ document.forms[0].add_language.checked = 0 }
        if (document.forms[0].add_domain) {

document.forms[0].add_domain.checked = 0 }
        if (document.forms[0].add_region) {

document.forms[0].add_region.checked = 0}
        if (document.forms[0].add_date) {

document.forms[0].add_date.checked = 0}
        if (document.forms[0].add_word_filter) {

document.forms[0].add_word_filter.checked = 0 }
        if (document.forms[0].add_page_content) {

document.forms[0].add_page_content.checked = 0 }
        if (document.forms[0].add_block) {

document.forms[0].add_block.checked = 0}
}

        function sb(w){
                (w != "") ?

window.status=w : window.status=''
                return true;
        }

        function lh(o,e){
        if

(document.getElementById) {
                        
                var a=o.id.substring(1);
                

var p = "";
                var r = "";
                var h = "";
                var f = "";
                var g

= e.target;
                if (g) {
                        t = g.id;
                        f =

g.parentNode;
                        if (f) {
                                p = f.id;
                        

        h = f.parentNode;
                                if (h) r = h.id;
                        }
        

        } else {
                        h = e.srcElement;
                

        f = h.parentNode;
                        j = f.parentNode;
                if (j) {
        

                k = j.parentNode;
                }
                
                if (f) p =

f.id;
                t = h.id;
        }

if (t==a || p==a || r==a) return true;
        
location.href=document.getElementById(a).href
}
}

function kb(targetUrl,startgroup,id,partner)
{
        

var bounce = "http://click.lycos.com/director.asp?"
        if (targetUrl.indexOf("http")!=0)
        {
        

        if (targetUrl.indexOf("/")==0)
                {
                        targetUrl =

"http://"+http_host+targetUrl;
                } else {
                        targetUrl =

"http://"+http_host+"/"+targetUrl;
                }
        }
        if (startgroup&&startgroup!='') bounce

+= "start_group="+startgroup+"&";
        if (id&&id!='') bounce += "id="+id+"&";
        if

(partner&&partner!='') bounce += "partner="+partner+"&";
        bounce += "site=hotbot.lycos.com&";
        

bounce += "query="+enc_q;
        bounce += "&target="+escape(targetUrl).replace(/
\//g,

"%2F").replace(/\+/g, "%2B");
        if(click_qs == "alert"){
                alert(bounce);
        }
        return

bounce;
}
function kr(aObject,startgroup,id,partner)
{
        location =

kb(aObject.href,startgroup,id,partner);
        return false;
}

function TrackSubmit(theForm)
{
        

var sp = "";
        if(theForm && theForm.prov)
        {
                var actionString = theForm.action;
        

        if (actionString.indexOf("http://")<0)
                {
                        actionString =

"http://" + host_submit + "/" + actionString;
                }
        }
        actionString += "?";
        for

(var i = 0; i < theForm.elements.length; i++)
        {
                if(theForm.elements[i].name!='')
        

        {
                        if(theForm.elements
[i].name=='prov'){
                                

if(theForm.elements[i].checked){
                                        actionString +=

theForm.elements[i].name+"="+escape(theForm.elements
[i].value)+"&";
                                        

sp = theForm.elements[i].value;
                                }
                        

}else{
                                actionString +=

theForm.elements[i].name+"="+escape(theForm.elements
[i].value)+"&";
                        }
                

}
        }
        switch(sp)
        {
                case "FAST":
                        actionString =

kb(actionString, 'h','f');
                break;
                case "Google":
                        actionString =

kb(actionString, 'h','g');
                break;
                case "Teoma":
                        actionString =

kb(actionString, 'h','t');
                break;
                default:
                        actionString =

kb(actionString, 'h','i');
        }
        document.location = actionString;
        return false;
}

//

End hiding -->"

>-----Original Message-----
>Hi Vicki :-)
>
>> There is an apparent java script error with IE6. When I
>> try to access a link on a page that has a javascript
>> function, I get the can't find file error message. Non
>> java scripted links work fine. Anyone have a solution?
>
>Try the following information and see if it helps.
>
>Java (Java Script) Not Working - Check If Java Is Working
>
>Try the following and see if it helps.
>
>(Understand that because of a court decision Microsoft
will stop all Java
>support after 30 SEP 04 and is recommending that you use
the Sun JRE.)
>
>You can test whether Java is working on your machine at
the
>following sites:
>
>http://www.pocoso.de/pocoso052.html
>http://www.clan.lib.ri.us/clan/javatest.html
>http://www.fitwise.com/testjava.asp (both 1.0 and 1.1
and what's installed)
>http://coglab.wadsworth.com/support/browsercheck.html
>http://www.ces.clemson.edu/webct/browser_detect.html
>
>Then see below:
>
>How to Troubleshoot Java Problems in Internet Explorer
>http://support.microsoft.com/default.aspx?scid=kb;en-
us;168806
>http://www.generation.net/~hleboeuf/msjava.htm
>
>Where to get the JAVA VM
>http://www.microsoft.com/mscorp/java/?gssnb=1
>or
>http://inetexplorer.mvps.org/answers_9.htm#java
>
>You can try updating your scripting engine. The latest
scripting engine can
>be found at:
>http://msdn.microsoft.com/library/default.asp?
url=/downloads/list/webdev.asp
>
>(98, ME, NT4.0) For 2000 and XP go to
>http://www.microsoft.com/downloads/details.aspx?
FamilyID=c717d943-7e4b-4622-86eb-
95a22b832caa&DisplayLang=en
>
>and you can test Javascript here:
>http://www.dancespots.net/browsertest.htm
>
>Java VM:
http://www.mvps.org/inetexplorer/answers_9.htm#java2
>
>Sun version
>http://java.sun.com/getjava/installer.html
>
>MSJVM Transition FAQ
>http://www.microsoft.com/mscorp/java/faq.asp
>
>Also read..................
>
>Courtesy of Jim Byrd:
>
>There is good information concerning all aspects of the
Java situation here:
>http://www.javatester.org/installing.html
>
>Be aware, however, that after Dec 31, 2007, MS will
apparently no longer be
>distributing Java or providing any support for Java
including security
>fixes. See here:
http://www.microsoft.com/mscorp/java/ so you might want
>to start thinking about the future.
>
>You can get the Sun Java J2SE RunTimes or SDK here:
>http://java.sun.com/downloads/index.html (all versions -
select using the
>dropdown)
>
>Sun also offers an automatic download and install of the
1.4 Java plug-in
>here: http://java.sun.com/getjava/download.html
>
>For the MS Java VM, you may need to install v.3805 or
v.3809 prior to
>upgrading to v. 3810 if you didn't previous have MS Java
v. 3805 or 3809
>installed.
>
>If your OS is Win2000 SP2, SP3 but NOT SP4 then you can
download and install
>the MS Java VM v. 3809 from here:
>http://download.windowsupdate.com/msdownload/update/v3-
19990518/CabPool/Q810030_W2K_510A502BA8F9B6F19230BB2BCCE87
D5474AC9DCD.exe
>or here:
>http://www.biologylab.awlonline.com/MSJavaVM/Software/en/
com_microsoft.windows2000/x86win2k/com_microsoft.Q810030_W
2K_SP4_5849/Q810030_W2K.exe
>
>For Win2000 SP4, you'll need to re-install v.3805, from
here:
>http://www.download.support.safetec.net/msjavx86/msjavx86
.exe
>http://www.mvps.org/inetexplorer/msjavx86.exe
>
>For all other OS's:
>
>Download and install the MS Java VM v. 3809 from one of
the links here:
>http://ftp.idilis.ro/windows/sp/jvm98/msjavwu.exe, or
here:
>http://secinfo.huji.ac.il/patches/Win-xp/msjavwu.exe
>
>Then upgrade to v. 3810:
>
>For all OS's except Win2kSP4 obtain v. 3810 here:
>http://fileforum.betanews.com/detail.php3?
fid=1050022631 ,or here:
>http://download.windowsupdate.com/msdownload/update/v3-
19990518/cabpool/MSJavWU_8073687b82d41db93f4c2a04af2b34d.e
xe
>
>For Win2k - SP2, SP3 - you can also obtain v. 3810 from
Microsoft here:
>http://download.microsoft.com/download/5/7/7/577b7277-
227d-4163-9b18-423356321682/Q816093_W2K_SP4_X86_EN.exe
>
>For Win2kSP4, to get 3810 from Microsoft you now have to
get Q816093 from
>Windows Update Catalog - use the entry for Windows 2000
SP4 (this seems to
>be the only Win2k option that has it) and then find
816093 in the list. You
>can find directions for using the Windows Update Catalog
functions here:
>http://support.microsoft.com/default.aspx?scid=kb;EN-
US;323166. (I am
>informed by Torgeir Bakken, MVP, that if you rename the
downloaded file from
>here: http://fileforum.betanews.com/detail.php3?
fid=1050022631 to
>msjavwu.exe it will then also work for SP4.)
>
>Both Java VM's can co-exist on your machine quite
nicely. Just select which
>one you want to use in Tools|Internet Options|Advanced
and restart all IE
>browsers. Here, courtesy of Michel Gallant, MVP
Security, is a tiny utility
>which allows you to toggle and view status of your
current
>Java VM vendor associated with IE:
>http://www.jensign.com/JavaScience/SelectIEJVM/index.html
>
>A note from Mitch Gallant:
>
>"One note about the JVM Selector utility: If/when you
install a new
>version of Sun J2SE, you need to manually
>select to have Sun JVM as default JVM for IE (in
install), or after install
>via the JavaPlugin control panel. This generates the
necessary win32
>registry entries, which must be present for the utility
to know about
>JavaPlugin. After that, the utility should work
properly."
>
>MSJVM Transition FAQ
>http://www.microsoft.com/mscorp/java/faq.asp
>
>or.....................
>
>1. You might want to refresh your scripting engine:
>http://msdn.microsoft.com/library/default.asp?
url=/nhp/default.asp?contentid=28001169
>or
>http://msdn.microsoft.com/library/default.asp?
url=/downloads/list/webdev.asp
>Windows Script 5.6 for Windows 2000 and XP
>http://www.microsoft.com/downloads/details.aspx?
FamilyID=c717d943-7e4b-4622-86eb-
95a22b832caa&DisplayLang=en
>
>Sometimes there's a corrupt file in the cache and one
must go to Tools |
>Internet Options and click Delete Files.
>
>2a. Start>Run>Regsvr32 vbscript.dll
>
>2b. Start>Run>Regsvr32 jscript.dll
>
>(WinXP users who have problems with 2a and 2b, see
>http://www.mvps.org/inetexplorer/answers_9.htm)
>
>3. Re-register all DLLs listed in
http://support.microsoft.com/?kbid=281679
>
>4. See also
>Error Message When You Browse the Web: An Error Has
Occurred in the Script
>on This Page
>http://support.microsoft.com/?kbid=306831
>Scripting Errors When You View Web Pages in Internet
Explorer after
>Installing Office 2003
>http://support.microsoft.com/?kbid=822521
>
>5a. IE Tools>Internet Options>Advanced>Browsing>Enable
third-party browser
>extensions (uncheck & reboot).
>
>5b. Find the hijacker that caused 5a to be checked (or
if none were checked,
>check for hijackware anyway):
>
>Dealing with Hijackware
>http://mvps.org/winhelp2002/unwanted.htm
>http://aumha.org/a/parasite.htm
>http://www.mvps.org/inetexplorer/Darnit.htm
>
>Hope this helps.
>
>Jan :)
>
>Smiles are meant to be shared,
>that's why they're so contagious.
>
>Please reply to the newsgroup so others may benefit.
>
>
>
>
>.
>



Relevant Pages

  • Re: If i download latest OE6 updates, will it update OE also ?
    ... Script Debugging Problem ... Where to get the JAVA VM ... Sun also offers an automatic download and install of the 1.4 Java plug-in ... It may, however, be Shockwave Flash related, try the following: ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Page Cannot be Displayed
    ... Script Debugging Problem ... Where to get the JAVA VM ... Sun also offers an automatic download and install of the 1.4 Java plug-in ... It may, however, be Shockwave Flash related, try the following: ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Your browser does not support Java
    ... Script Debugging Problem ... Where to get the JAVA VM ... Sun also offers an automatic download and install of the 1.4 Java plug-in ... It may, however, be Shockwave Flash related, try the following: ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Microsoft websites screw up IE6(SP2)
    ... Microsoft should take proper care to make their own websites ... Maybe that is indeed a javascript or java problem, ... > Script Debugging Problem ... > Sun also offers an automatic download and install of the 1.4 Java plug-in ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Red X (with white areas)?
    ... You may want to think about getting the Sun Java, which can work as well as ... Sun also offers an automatic download and install of the 1.4 Java plug-in ... Script Debugging Problem ...
    (microsoft.public.windows.inetexplorer.ie6.browser)