mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2025-12-06 10:41:18 -08:00
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) {}; |