Firefox has a set of components under its XPCOM (ActiveX competitor technology) that you can use to accomplish the same thing.
Maybe something like this (untested):
function getLastModifiedTime(filePath)
{
try
{
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
}
catch (e)
{
throw new Error("Permission to read file was denied.");
}
var file = Components.classes["@mozilla.org/file/local;1"]
.createInstance(Components.interfaces.nsILocalFile);
file.initWithPath( filePath );
return file.lastModifiedTime;
}
Safari... . , java-?