[Greasemonkey] Re: Scripts in ~/.mozilla/scripts?

Aaron Boodman zboogs at gmail.com
Tue Jun 14 15:42:00 EDT 2005


> The current system caches metadata in am XML file and in memory. The XML
> file is loaded when Firefox/Greasemonkey starts. The manage dialog
> maintains consistency by updating both when you hit "OK." What we need
> to implement for installation-by-copy and proper updates on edit is
> simply monitoring the scripts directory. If there's a discrepency in
> mtime or filesize, we should update the cache. It should also be
> possible to form the cache when none exists (it was removed or wasn't
> there to begin with).

I don't think this is true. It's not how I remember writing it, and a
cursory glance reveals:

  function greaseLoad(e) {
    ...
    var config = new Config();
    config.load();
    ...

-- 
Aaron


More information about the Greasemonkey mailing list