simon, the greasemonkey extension does not work for either SeaMonkey or K-Meleon. It might be possible to use it when they fixed the extension for use with SeaMonkey. But i IMHO Hao points at the right spot - we can mimic the function sufficiantly - since You do not need the feature every day.
SeaMonkey 1.1 and K-Meleon with experimental SeaMonkey xpi installer service do not install greasemonkey
/greasemonkey
Failed to create chrome directory
You probably don't have appropriate permissions
(write access to Profile/chrome directory).
Error code :-214
A cross test successfully installed a Console2 chrome/extension.
As a start I had created a greasmonkey.jar, SeaMonkey style obsolete content.rdf and installed-chrome.txt, a little K-Meleon chrome calling macro // since my PC is faster with unpacking than I/O operations anyway
And it looked sufficiently good to try.
Both SeaMonkey ErrorConsole and K-Meleon Console2 point to an error that prevents the loading of browser.xul.
A K-Meleon 1.1beta3, with*.kmm, chrome.dll and xpt that can handle chrome manifest files and a Firefox style test chrome except that only did not have unused Firefox stuff in browser.jar ( = Xulrunner chrome plus branding ) threw the same error. *
SeaMonkey:
Error: uncaught exception: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIFileProtocolHandler.getFileFromURLSpec]" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: chrome://greasemonkey/content/utils.js :: getContentDir :: line 237" data: no]
K-Meleon:
Error: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIFileProtocolHandler.getFileFromURLSpec]
Source file: chrome://greasemonkey/content/utils.js
Line: 237
Which would be in:
function getContentDir() {
var reg = Components.classes["@mozilla.org/chrome/chrome-registry;1"]
.getService(Components.interfaces.nsIChromeRegistry);
var ioSvc = Components.classes["@mozilla.org/network/io-service;1"]
.getService(Components.interfaces.nsIIOService);
var proto = Components.classes["@mozilla.org/network/protocol;1?name=file"]
.getService(Components.interfaces.nsIFileProtocolHandler);
var chromeURL = ioSvc.newURI("chrome://greasemonkey/content", null, null);
var fileURL = reg.convertChromeURL(chromeURL);
var file = proto.getFileFromURLSpec(fileURL.spec).parent; // this line = 237
return file
}
I replaced part of this function with code from kmprefs.jar but it threw another error further down. This looks like a barrel without bottom and K-Meleon project does not have redundant manpower. There are more urgent things for those that are more competent than me & the ppl that need this extension can use Firefox for it.