summaryrefslogtreecommitdiffstats
path: root/.conkerorrc
diff options
context:
space:
mode:
Diffstat (limited to '.conkerorrc')
-rw-r--r--.conkerorrc/init.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/.conkerorrc/init.js b/.conkerorrc/init.js
index 4658eaa..157f125 100644
--- a/.conkerorrc/init.js
+++ b/.conkerorrc/init.js
@@ -277,6 +277,19 @@ function read_url_local_port_handler(input)
read_url_handler_list = [read_url_local_port_handler,
read_url_github_command_handler];
+// Mozrepl
+let (mozrepl_init = get_home_directory()) {
+ mozrepl_init.appendRelativePath(".mozrepl-conkeror.js");
+ 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);
+}
+
register_user_stylesheet(
"data:text/css," +
escape(