diff options
author | Tom Willemse | 2014-01-26 12:37:59 +0100 |
---|---|---|
committer | Tom Willemse | 2014-01-26 12:37:59 +0100 |
commit | 8e12944b02a8694e110018ab0aae243c09cc3828 (patch) | |
tree | a5a969f418055903004afa682a7f390b7c230db9 /conkeror | |
parent | 09f4c329af7ec7e3d5f31d13fc5b87a8f9b5080f (diff) | |
download | dotfiles-8e12944b02a8694e110018ab0aae243c09cc3828.tar.gz dotfiles-8e12944b02a8694e110018ab0aae243c09cc3828.zip |
Conkeror: return of the mozrepl
Diffstat (limited to 'conkeror')
-rw-r--r-- | conkeror/.conkerorrc/init.js | 12 |
1 files 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," + |