Chrome can use the Switchtunnel plugin to access the SOCKS 5 agent, so when I start using Emacs + Conkeror to browse the Web, I don't want to switch to Chrome to visit Google.
After some trying, fix it.
The basic ideas are:
1. First use the Firefox settings UI to allow Fireforx to access the local SOCKS 5 agent
Preferences/advanced/network/connection settings/
2. Enter the About:config command in the Firefox URL and find all the configurations that contain the proxy:
3. In Conkeror c-x-f, also input about:config, also use proxy search, the final guarantee settings and Firefox in the same.
Conkeror will save the results in ~/.conkeror.mozdev.org/conkeror/ncvcfckw.default/prefs.js
# Mozilla User preferences/* does not edit the this file. * If You do changes to this file while the application is running, * the changes would be overwritten when the Applicat Ion exits. * To make a manual change to preferences, you can visit the URL about:config */user_pref ("App.update.lastUpdateTime.addo N-background-update-timer ", 1417887372); User_pref (" App.update.lastupdatetime.blocklist-background-update-timer " , 1417887492); User_pref ("App.update.lastupdatetime.search-engine-update-timer", 1417942592); User_pref (" Browser.cache.disk.capacity ", 358400); User_pref (" Browser.cache.disk.smart_size.first_run ", false); User_pref (" Browser.cache.disk.smart_size.use_old_max ", false); User_pref (" Browser.cache.disk.smart_size_cached_value ", 358400); User_pref ("Browser.download.importedFromSqlite", true); User_pref ("Extensions.blocklist.pingCountVersion ", 0); User_pref (" Extensions.databaseschema "), User_pref (" Extensions.lastappversion "," 1.0pre1 (Debian-1.0~~ pre-1+git141025-1) user_pref ("Extensions. Lastplatformversion "," 30.0 "); User_pref (" Extensions.shownselectionui ", true); User_pref (" Idle.lastdailynotification ", 1417942712); User_pref (" network.cookie.prefsMigrated ", true); User_pref (" network.proxy.no_proxies_on "," localhost, 127.0.0.1,. letv.com,. baidu.com,. leshiren.com,. qq.com,. csdn.net "); user_ Pref ("Network.proxy.share_proxy_settings", false); User_pref ("Network.proxy.socks", "127.0.0.1"); User_pref (" Network.proxy.socks_port ", 8528); User_pref (" Network.proxy.type ", 1); User_pref (" Places.database.lastMaintenance ", 1417743790) user_pref ("Places.history.expiration.transient_current_max_pages", 100529); User_pref (" Plugin.importedstate ", true); User_pref (" Storage.vacuum.last.index ", 1); User_pref (" Storage.vacuum.last.places.sqlite ", 1417743790); User_pref (" Toolkit.telemetry.previousBuildID "," [email protected]_1417603046 ");
Note that you do not edit the file manually.
Now it's ready to use.
If you want to turn off proxy, you can set the following variable to 0
Network.proxy.type
Conkeror Using SOCKS 5 agent