Conkeror: MozRepl doesn't work in FF 20

This commit is contained in:
Tom Willemsen 2013-04-03 09:59:07 +02:00
parent 784f238fc1
commit 1687986cdc

View file

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