From 8e12944b02a8694e110018ab0aae243c09cc3828 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 26 Jan 2014 12:37:59 +0100 Subject: [PATCH] Conkeror: return of the mozrepl --- conkeror/.conkerorrc/init.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/conkeror/.conkerorrc/init.js b/conkeror/.conkerorrc/init.js index 081042e..e3b53f8 100644 --- a/conkeror/.conkerorrc/init.js +++ b/conkeror/.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," +