The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Quick Conkeror Prefs

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Red Handed

Posts: 1158
Nickname: redhanded
Registered: Dec, 2004

Red Handed is a Ruby-focused group blog.
Quick Conkeror Prefs Posted: Nov 23, 2006 3:47 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Red Handed.
Original Post: Quick Conkeror Prefs
Feed Title: RedHanded
Feed URL: http://redhanded.hobix.com/index.xml
Feed Description: sneaking Ruby through the system
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Red Handed
Latest Posts From RedHanded

Advertisement

No more SwitchProxy extension for switching MouseHoles. Added to ~/.conkerorrc:

 // alter user preferences
 function set_pref(k, v) {
 if (!gPrefService) { message("EEP: no gPrefService"); return 0; }
 gPrefService.setIntPref(k, v);
 message(k + " set to " + v);
 }
 function get_pref(k) {
 if (!gPrefService) { message("EEP: no gPrefService"); return 0; }
 if (!gPrefService.prefHasUserValue(k)) return null;
 else return gPrefService.getIntPref(k);
 }
 // toggle proxy
 function toggle_http_proxy()
 {
 var proxytype = get_pref("network.proxy.type");
 set_pref("network.proxy.type", proxytype == 1 ? 0 : 1);
 }
 add_command("toggle-http-proxy", toggle_http_proxy, []);
 define_key(ctrlx_kmap, make_key("p", 0), "toggle-http-proxy");

So: C-x p. Seriously, go sift through this stuff from Bill Clementson [pt. 1 and pt. 2] and you’ll pick it up. The rest of my .conkerorrc is pretty standard, but the numbered link styling is essential, in that del.icio.us actually looks really good now.

Read: Quick Conkeror Prefs

Topic: Syntax error without obvious reason Previous Topic   Next Topic Topic: Tasety Hampers

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use