General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
ultimate ie killer
Posted by: disrupted
Date: December 01, 2008 01:26PM

even with km set as default, certain unregistered protocols will automatically use internet explorer. there are also some misbehaving programs that ignore your default browser and insist on using ie.

there are some programs that completely remove ie from your system but those cause all sorts of problems with help files and other components that rely solely on trident.

here's the solution; a very simple script that forwards all commands calling ie back to kmeleon. this way, misbehaving programs and unregistered protocols will only execute with kmeleon.. heck, you don't even need to make kmeleon default and everything will open with it.

for default installations[C:\Program Files\K-Meleon\K-Meleon.exe], download this file: http://necb.bizhat.com/kmeleon/IE-killer.7z
1- go to c:\program files\internet explorer and rename iexplore.exe to iexplore.bak or anything
2- extract iexplore.exe from the package and save it to c:\program files\internet explorer

for unconventional install paths: copy this script to notepad, modify kmeleon's path to your path and compile with autoit(binary should be called iexplore.exe) and follow the steps above

;
; AutoIt Version: 3.0
; Language: English
; Platform: Win9x/NT
; Author: yannis kargas
;
; Script Function:blah blah goodbye ie
#NoTrayIcon
if $CmdLine[0] > 0 Then
ShellExecute("G:\applications-x\KMplus\k-meleon.exe", $CmdLineRaw);
Else
ShellExecute("G:\applications-x\KMplus\k-meleon.exe")
EndIf


Options: ReplyQuote
Re: ultimate ie killer
Posted by: JujuLand
Date: December 01, 2008 02:32PM

I think the ultimate IE Killer is GNU/Linux: tongue sticking out smiley

A+



Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:38.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/76.0


Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr



Ubuntu 12.04 - Gramps 3.4.9 - Harbour 3.2.0 - Hwgui 2.20-3 - K-Meleon 76.0 rc





Edited 2 time(s). Last edit at 12/01/2008 02:33PM by JujuLand.

Options: ReplyQuote
Re: ultimate ie killer
Posted by: disrupted
Date: December 01, 2008 03:44PM

grinning smiley so true!

Options: ReplyQuote
Re: ultimate ie killer
Posted by: disrupted
Date: December 01, 2008 06:15PM

UPDATE: fix for some programs passing urls with '-nohome' paramater prefix. download from same link above(default path only); otherwise change path and compile:

; AutoIt Version: 3.0
; Language: English
; Platform: Win9x/NT
; Author: yannis kargas
;
; Script Function:blah blah goodbye ie
#NoTrayIcon
$sStrippedCmd = StringRegExpReplace($CmdLineRaw, "-nohome ", "")
if $CmdLine[0] > 0 Then
ShellExecute("G:\applications-x\KMplus\k-meleon.exe", $sStrippedCmd);
Else
ShellExecute("G:\applications-x\KMplus\k-meleon.exe")
EndIf


Options: ReplyQuote
Re: ultimate ie killer
Posted by: caktus
Date: December 01, 2008 07:37PM

@ disrupted

Will IE still be usable manually? Also, what about MS/Windows Update?

Charlie

~~If it ain't broke, why screw it up?~~


Options: ReplyQuote
Re: ultimate ie killer
Posted by: desga2
Date: December 01, 2008 07:54PM

Some improves to disrupted's IE Killer tool:

; AutoIt Version: 3.0
; Language: English
; Platform: Win9x/NT
; Author: yannis kargas & desga2
;
; Script Function: bye bye IE or IE go out!
#NoTrayIcon
; HKEY_CURRENT_USER "Software\K-Meleon\General" "InstallDir"
$KMeleon_path = RegRead("HKCU\Software\K-Meleon\General", "InstallDir") & "\k-meleon.exe"
If FileExists(@ScriptDir & "\k-meleon.ini") Then $KMeleon_path = IniRead(@ScriptDir & "\k-meleon.ini", "K-Meleon", "Path", "none")
If $KMeleon_path == "" Or $KMeleon_path == "none" Then
	$Response = MsgBox(52, "IE Killer for K-Meleon", "None K-Meleon path defined." & @CRLF _ 
	& "None K-Meleon installation defined in registry or k-meleon.ini file not found." & @CRLF _ 
	& 'You can define k-meleon.ini file with [K-Meleon] section and a Path= key.' & @CRLF _ 
	& (Remember that you must edit it to complet Path= key with your k-meleon.exe full path) & @CRLF _ 
	& "Do you like generate k-meleon.ini file?")
	; If response is Yes generate ini file:
	If $Response = 6 Then IniWrite(@ScriptDir & "\k-meleon.ini", "K-Meleon", "Path", "<replace me by your k-meleon.exe path>")
Else
	$sStrippedCmd = StringRegExpReplace($CmdLineRaw, "-nohome ", "")
	If $CmdLine[0] > 0 Then
		ShellExecute($KMeleon_path, $sStrippedCmd)
	Else
		ShellExecute($KMeleon_path)
	EndIf
EndIf

@ caktus:
If you rename iexplore.exe to iexplore_or.exe and create/modify your IE desktop icon to your original IE (iexplore_or.exe).

K-Meleon in Spanish



Edited 2 time(s). Last edit at 12/01/2008 08:02PM by desga2.

Options: ReplyQuote
Re: ultimate ie killer
Posted by: disrupted
Date: December 01, 2008 08:28PM

cheers desga! that is brilliant getting the path in several ways like that.
'IE go out!'grinning smiley my thoughts exactly

charlie..here's the tricky part, if you try to use ie(iexplore.exe) by renaming it you will probably get a message when you run ie like ' running in compatability mode.. some blah blah will not function'.. you can stop that message by selecting 'don't remind me again' in the prompt but i'm not sure what blah blah functions will be disabled in ie.
i'd still like to use ie occasionally or run it from km macro but i choose to run it myself.. not a dumb program executing it against my wish. here's what i do to make sure ie still runs properly:

inside internet explorer folder, i create a new folder 'bin' and then i move the original ie iexplore.exe(not the killer version) to it so:
c:\program files\internet explorer\bin\iexplore.exe


for windows update.. i think this will fix the problem for ms related tasks that require ie:
fire regedit and borwse to this path:
HKEY_CLASSES_ROOT\Applications\iexplore.exe
under shell>open>command under iexplore, change default string from:
"C:\Program Files\Internet Explorer\iexplore.exe" %1
to new path:
"C:\Program Files\Internet Explorer\bin\iexplore.exe" %1

this will not override the logic for the ie-killer ..as unregistered protocols will always assume the original path.. also same goes for pesky ie-persistant programs.. they don't read that registry key and will use the original path.. from which ie-killer will intercept and send their commands to kmeleon.

it's like having your cake and eating it.. ie will still function for special windows tasks, however rest of protocols/bad programs will execute kmeleon instead.

Options: ReplyQuote
Re: ultimate ie killer
Posted by: disrupted
Date: December 01, 2008 08:40PM

i compiled and uploaded desga's ie-killer there:
[kmext.sf.net
this one can be used for all kmeleon installations(default or not)



Edited 1 time(s). Last edit at 01/21/2011 04:44PM by disrupted.

Options: ReplyQuote
Re: ultimate ie killer
Posted by: soccerfan
Date: December 01, 2008 09:31PM

Will IEKiller play nice with the ietab plugin (ietab.kmm) or ie.kmm?

soccerfan

Options: ReplyQuote
Re: ultimate ie killer
Posted by: disrupted(unlogged)
Date: December 02, 2008 09:43AM

ietab will not be affected and will function normally. the ie.kmm macro reads ie path from the registry:
HKEY_CLASSES_ROOT\Applications\iexplore.exe\shell\open\command
default string:"C:\Program Files\Internet Explorer\iexplore.exe" %1


so it's important if you move the original iexplore.exe to the bin folder; to change the registry path to the new location
HKEY_CLASSES_ROOT\Applications\iexplore.exe\shell\open\command
"C:\Program Files\Internet Explorer\bin\iexplore.exe" %1


Options: ReplyQuote
Re: ultimate ie killer
Posted by: amateur girl
Date: May 07, 2010 05:06PM

Sorry if I posted in wrong place. sad smiley This is the only thread I can find for this.
This works great but I have 1 issue I need help with. When I click a link in
Favorites K-Meleon does go to the website, but a dialog pops up saying that
Windows Cannot Find whatever website. I do not know if this helps, but when
I click the shortcut for IE it says that KMPlus cannot be found.

Options: ReplyQuote
Re: ultimate ie killer
Posted by: SoerenB
Date: May 07, 2010 07:11PM

Hi, amateur girl,

Maybe making KM default browser using this helps?:
kmext.sourceforge.net/files/kmdefaulter2.7z

thread with screenshots.

more to read

Cheers
SoerenB


Back again ...

Options: ReplyQuote
Re: ultimate ie killer
Posted by: caktus
Date: May 08, 2010 07:19PM

Thanks, Guys.

When I access a web site that requier IE will I still be able to use the "Send to IE" in the Context menu?

P.S. I wish developers would get with the program. It seems KM has no problem running the features or fuctions of any web sites of consequence. KM even handles secure site like banking and even US and my state's gov web sites with out a problem.

Charlie

~~If it ain't broke, why screw it up?~~


Options: ReplyQuote
Re: ultimate ie killer
Date: January 07, 2011 06:01PM

I've been fooling around with this -- but can't get K-M to open with the URL that should have been passed to it. Always opens with home page or "can't find nohome" complaint.

Got started with all this fun stuff because defaults got messed up and then IE went BSOD postal. Uninstalling IE8 mellowed things out, but I'm still looking for a way to always open K-M. I hate surprises that involve IE.

A.K.A. Arual the Wyrd

Options: ReplyQuote
Re: ultimate ie killer
Posted by: disrupted
Date: January 21, 2011 04:48PM

use the latest ie killer, download from kmext fixes bug of applications passing urls with -nohome parameter

if it still not opening properly there could be some parameter that the program passes which kmeleon doesn't understand- ie has different set of parameters. you'll need to find the exact parameter passed to kmeleon so it can be fixed in iekiller script

use this to fetch the parameter
http://www.easexp.com/cmdline/
(hover on kmeleon window displaying the error(

Options: ReplyQuote


K-Meleon forum is powered by Phorum.