mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2026-03-10 08:50:38 -07:00
git-subtree-dir: autoconfig git-subtree-mainline:4bd7c2db21git-subtree-split:0178abfc53
20 lines
No EOL
479 B
JavaScript
20 lines
No EOL
479 B
JavaScript
// skip 1st line
|
|
try {
|
|
|
|
let {
|
|
classes: Cc,
|
|
interfaces: Ci,
|
|
manager: Cm,
|
|
utils: Cu
|
|
} = Components;
|
|
|
|
let cmanifest = Cc['@mozilla.org/file/directory_service;1'].getService(Ci.nsIProperties).get('UChrm', Ci.nsIFile);
|
|
cmanifest.append('utils');
|
|
cmanifest.append('chrome.manifest');
|
|
|
|
if(cmanifest.exists()){
|
|
Cm.QueryInterface(Ci.nsIComponentRegistrar).autoRegister(cmanifest);
|
|
Cu.import('chrome://userchromejs/content/boot.jsm');
|
|
}
|
|
|
|
} catch(ex) {}; |