Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

javascipt has hijacked my browser...

Status
Not open for further replies.

crackn101

Programmer
Dec 27, 2002
63
US
Hi Everyone.
I have found that the following javascript automatically gets inserted
into *EVERY* single webpage that I view with IE.
I cannot find any information about it.
I did find a couple of other people who also have this same problem.
Here is the forum link :
Kind of describes it better.
Any suggestions would be greatly appreciated.
TIA
Crackn101

<script LANGUAGE=&quot;JavaScript&quot;>
<!--
var mUpTime=new Date(0);
RealOpenWindow = window.open;
function RecordMUpTime(){mUpTime = new Date();}
function MyWndOpen(url,name,attribute)
{
if(mUpTime)
{
var openTime=new Date();
openTime.setTime(openTime.getTime()-mUpTime.getTime());
if ( openTime.getSeconds() < 2 )
return(RealOpenWindow(url,name,attribute));
}
}
function NoError(){return(true);}
function moveTo(){return true;}
function resizeTo(){return true;}
onerror=NoError;
window.open=MyWndOpen;
//-->
</script>
 
You probably have some sort of spyware on your computer. try downloading a program that gets rid of it an run it an see if that helps.
Jammer1221
 
Hi Jammer.
I thought of that too.
I have run Ad-aware as well as spybot s&d.
Both of them could not find anything.
I have updated my antivirus definitions too. (Norton)
I ran my windows update saturday.
So everything should be up to date.
I am running windows xp Pro.
Strange. Very strange.
I repair computers and program, and I have never
seen a script like this before.
So virus-like, but absolutely no traceable origin.

Crackn101
 
wow that stumps me ... it is pretty strange...do you know what the script actually does...try this i dunno if itll work though...open tools then Internet Options then you should be in the general submenu look at the homepage address and see if it has a passthrough sort of page that would do something like adding a code to a page ( i think it can be done with CGI) but im not sure just a guess
Jammer1221
 
Have you tried booting into safe mode & seeing if it still does this? If not then it's definitely something loading on your box. Run MSCONFIG and step through anything loading one by one to see if you can isolate it. Just a thought....
 
just out of curiosity, I noticed a couple weeks ago that msconfig does not work on my win2k pro pc at work. Is there another program equivalent to this that runs in win2k pro? I know msconfig runs in winxp so it doesn't make sense to me why it's absent in win2k pro, unless it's just my machine.

-kaht

banghead.gif
 
kaht,

As far as I know, msconfig was new to xp (not available in 2000) as a new feature of the os. To find the programs that run at startup in 2000 you have to look at \HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run in the registry.

Gizzy
 
I know you can run msconfig in win98, and I'm almost positive you can run it in win95 too. It's been around for a while.

The last time I had to take something out of my startup I had to go thru the registry on my win2k machine, just didn't know if there was a faster way or not. Seems kinda silly that they'd take msconfig out for win2k only.....

-kaht

banghead.gif
 
Please copy the bold to notepad. Name as filters.bat Double click on filters.bat to run this dos file. This file will export a registry key I would like to see. It will open the results in a file called filters.txt

Please copy and paste the contents of filter.txt to a reply here.

regedit /e filters.txt HKEY_CLASSES_ROOT\PROTOCOLS\Filter

start filters.txt
 
kaht

My guess would be then that msconfig was not availble in NT which 2000 derives from and that XP picked it up from the 9x lineup.
 
ahh, that's a pretty good theory..... you're probably right :)

-kaht

banghead.gif
 
crackn101:
Post your problem (or search for similar) in the Browser issues for IT professionals Forum (forum608).

They will be well able to help you out if you have some spyware/adware on your machine, probably by using HijackThis.

Also have a read of
How to beat your advertising popups & other browser nasties (faq608-3482)
and
Why does Internet Explorer give me errors? (faq608-3196)

Both FAQs on that forum.

Posting code? Wrap it with code tags: [ignore]
Code:
[/ignore][code]CodeHere
[ignore][/code][/ignore].
 
Hi everyone.
I FINALLY resolved this issue.
I started going backwards and un-installing each
utility,game,update, etc.
I finally came to a program called net-peeker.
As soon as I un-installed that one, the javascript disappeared !
I even looked at these settins at one point, but
didn't see the connection with the browser.
Anyway that fixed it.
Thanks to everyone for all of the helpful ideas.

Crackn101
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top