Conkeror: return of the mozrepl

This commit is contained in:
Tom Willemse 2014-01-26 12:37:59 +01:00
parent 09f4c329af
commit 8e12944b02

View file

@ -258,12 +258,12 @@ let (mozrepl_init = get_home_directory()) {
session_pref('extensions.mozrepl.initUrl', make_uri(mozrepl_init).spec);
};
// if ('@hyperstruct.net/mozlab/mozrepl;1' in Cc) {
// let mozrepl = Cc['@hyperstruct.net/mozlab/mozrepl;1']
// .getService(Ci.nsIMozRepl);
// if (!mozrepl.isActive())
// mozrepl.start(4242);
// }
if ('@hyperstruct.net/mozlab/mozrepl;1' in Cc) {
let mozrepl = Cc['@hyperstruct.net/mozlab/mozrepl;1']
.getService(Ci.nsIMozRepl);
if (!mozrepl.isActive())
mozrepl.start(4242);
}
register_user_stylesheet(
"data:text/css," +