Changeset 619
- Timestamp:
- 01/19/08 10:04:23 (11 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/aa2/src/components/greasemonkey.js
r618 r619 18 18 19 19 browserWindows: [], 20 updater: null, 20 21 21 22 … … 79 80 this.injectScripts(scripts, href, unsafeWin, chromeWin); 80 81 } 82 83 // Need to wait until well after startup for prefs store and extension 84 // manager to be initialized. First page load is a convenient place. 85 if (!this.updater) { 86 // Note: the param to this has to match the extension ID in install.rdf 87 this.updater = new ExtensionUpdater( 88 "{e4a8a97b-f2ed-450b-b12d-ee082ba24781}"); 89 this.updater.updatePeriodically(); 90 } 81 91 }, 82 92 … … 114 124 .getService(Ci.mozIJSSubScriptLoader) 115 125 .loadSubScript("chrome://greasemonkey/content/xmlhttprequester.js"); 126 127 Cc["@mozilla.org/moz/jssubscript-loader;1"] 128 .getService(Ci.mozIJSSubScriptLoader) 129 .loadSubScript("chrome://greasemonkey/content/updater.js"); 116 130 117 131 //loggify(this, "GM_GreasemonkeyService");
