Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#95077 - 21/05/2002 07:33 Best way to close spawning popup windows in KDE?
johnmcd3
enthusiast

Registered: 19/04/2001
Posts: 369
Loc: Seattle, WA (formerly Houston,...
This morning I fell victem to one of those lame browser attacks where every window continuously opens windows which continue to respawn themselves. Under Windows XP I would have normally dealt with such a problem by right clicking on the (now grouped) Internet Explorer windows and clicking "close group", or if that didn't work going to task manager and ending the iexplore process.

Unfortunantly, I not as experienced with these in Linux. I normally use RedHat 7.2 with KDE. The first thing I tried was madly closing each one in the taskbar, but they were opening much too fast. In fact, it didn't even appear that they were closing. Then I tried opening my own Konqueror window and changing the settings to no Javascript / deny pop-ups. But that didn't work!

I think it might have been some browser hole / flaw or some other scripting attack. Regardless of what it was, the next thing I tried was logging out and unchecking "save the current session", but for some unknown reason it kept reloading the session with 20+ konqueror windows! I tried this multiple times. I did some web searches under a different user account on manually diasbling session management, but nothing really worked.

Finally, 30 minutes later, the way I finally dealt with the problem was by immediately opening a command line, typing "ps ux", and killing processes like a 12 year old playing Street Fighter II.

So how would the experienced Linux user have handled the situation?

John
_________________________
1998 BMW ///M3 30 GB Mk2a, Tuner, and 10 GB backup

Top
#95078 - 21/05/2002 07:45 Re: Best way to close spawning popup windows in KDE? [Re: johnmcd3]
peter
carpal tunnel

Registered: 13/07/2000
Posts: 4174
Loc: Cambridge, England
man killall

Peter

Top
#95079 - 21/05/2002 08:00 Re: Best way to close spawning popup windows in KDE? [Re: johnmcd3]
windchill
stranger

Registered: 11/02/2002
Posts: 31
Loc: Zug, Switzerland
At the shell prompt, I would do something like

kill `pidof lynx`

If that doesnt work:
kill -9 `pidof lynx`

Of course, you would have to replace lynx with your browser's process name
Marc

Top
#95080 - 21/05/2002 08:01 Re: Best way to close spawning popup windows in KDE? [Re: johnmcd3]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
killall -9 konqueror

No amount of kiddie javascript going to get past that

_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#95081 - 21/05/2002 09:18 Re: Best way to close spawning popup windows in KDE? [Re: johnmcd3]
NiCKEL
journeyman

Registered: 27/02/2002
Posts: 59
Loc: Vancouver, BC, Canada
If you are using Konqueror, under options it will allow you to disable popup windows or have it promt before allowing them.

This feature worked nicely for me (I am running the latest version I don't know if support exists in older versions).

-Geoff

Top
#95082 - 21/05/2002 11:04 Re: Best way to close spawning popup windows in KDE? [Re: peter]
johnmcd3
enthusiast

Registered: 19/04/2001
Posts: 369
Loc: Seattle, WA (formerly Houston,...
Sweet.

Thanks.
_________________________
1998 BMW ///M3 30 GB Mk2a, Tuner, and 10 GB backup

Top