i'm officially a genius. Ok- not really... because i didn't do any of the coding, but i did happen to put it all together and make it work:-). I used a little bit of the code from here... more specifically in the firefox plugin.:
http://www.unixdaemon.net/ie_plugins.html#viewin_plugin
Thanks Dean Wilson!
Anyway, just follow the same steps as above, except name the new registry key "View &LINK In K-Meleon" instead. Also, instead of using that code from above... you're gonna have to use this code:
<SCRIPT LANGUAGE="JavaScript">
function runK(location) {
var shell = new ActiveXObject("WScript.Shell");
shell.run("\"C:/Program Files/K-Meleon/k-meleon.exe\" \"" + location + "\"");
}
var oWindow = window.external.menuArguments;
if (oWindow != null) {
var oDocument = oWindow.document;
var sText = null;
var oEvent = oWindow.event;
if ((oEvent.type == "MenuExtUnknown") || (oEvent.type == "MenuExtImage") || (oEvent.type == "MenuExtAnchor")) {
var oElement = oDocument.elementFromPoint(oEvent.clientX, oEvent.clientY);
var oAnchor = oElement;
while ((oAnchor.tagName != "A") && (oAnchor.tagName != "AREA") && (oAnchor.tagName != "HTML")) {
oAnchor=oAnchor.parentElement;
}
if (oAnchor.tagName=="A" || oAnchor.tagName=="AREA") {
sText = oAnchor.href;
} else if (oAnchor.tagName=="HTML" && oElement.tagName=="IMG") {
sText = oElement.src;
}
}
if ((sText != null) && (sText.length != 0)) {
var location = new String(sText);
runK(location);
}
}
</SCRIPT>
Well- umm... also make sure you use a different filename such as "viewlinkinkmeleon.html". Good luck! Any problems... come back here- it's a forum... :-D.
Brian