diff options
author | Tom Willemse | 2013-11-27 10:20:03 +0100 |
---|---|---|
committer | Tom Willemse | 2013-11-27 10:20:03 +0100 |
commit | 0ca56aa4baca097f9cf12d2ea1cf36f1576dc726 (patch) | |
tree | 32d71564d5e7a82c13eff57bebd02db2fccba6e8 | |
parent | aa3b04408d87b0d2aab09eaf1be918a0f8cc63d4 (diff) | |
download | conkeror-0ca56aa4baca097f9cf12d2ea1cf36f1576dc726.tar.gz conkeror-0ca56aa4baca097f9cf12d2ea1cf36f1576dc726.zip |
Bring back the mozrepl!
-rw-r--r-- | .conkerorrc/init.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/.conkerorrc/init.js b/.conkerorrc/init.js index 081042e..e3b53f8 100644 --- a/.conkerorrc/init.js +++ b/.conkerorrc/init.js @@ -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," + |