[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: Soliciting Opinions on xB Browser "How To Build" doc



How about instead of Make, we use Scons? It should be easier for people
to read and modify.

Additionally, for the list of tor 3rd party devs...

I figured out how to implement the (more) secure persistent settings in
firefox. This will be useful for others trying a similar approach to xB
Browser.

1. Keep prefs.js with the normal user settings.
2. Load this user.js on top of it, to keep the network settings persistent.

This way the user can change their settings like cache, saving
passwords, etc, but not risk messing up their network settings.

Tested and it works.

Files below, including settings.

Regards,
Steve

---------- BEGIN PREFS.JS ----------
# Mozilla User Preferences

/* Do not edit this file.
 * XEROBANK BROWSER CONFIGURATION SOFTCODE SETTINGS
 *
 * If you make changes to this file while the application is running,
 * the changes will be overwritten when the application exits.
 *
 * To make a manual change to preferences, you can visit the URL
about:config
 * For more information, see
http://www.mozilla.org/unix/customizing.html#prefs
 */

user_pref("accessibility.typeaheadfind.flashBar", 0);
user_pref("app.update.auto", false);
user_pref("app.update.lastUpdateTime.addon-background-update-timer",
1195327847);
user_pref("app.update.lastUpdateTime.background-update-timer", 1195327847);
user_pref("app.update.lastUpdateTime.blocklist-background-update-timer",
1195327847);
user_pref("app.update.lastUpdateTime.search-engine-update-timer",
1195327853);
user_pref("app.update.url.override",
"https://aus2.mozilla.org/update/2/%PRODUCT%/%VERSION%/%BUILD_ID%/%BUILD_TARGET%/en-US/%CHANNEL%/%OS_VERSION%/update.xml";);
user_pref("browser.cache.disk.capacity", 0);
user_pref("browser.download.lastDir", "C:\\Documents and
Settings\\Administrator\\Desktop");
user_pref("browser.download.manager.retention", 0);
user_pref("browser.formfill.enable", false);
user_pref("browser.history_expire_days", 0);
user_pref("browser.history_expire_days.mirror", 9);
user_pref("browser.preferences.advanced.selectedTabIndex", 1);
user_pref("browser.send_pings", false);
user_pref("browser.sessionstore.enabled", false);
user_pref("browser.shell.checkDefaultBrowser", false);
user_pref("browser.startup.homepage", "https://support.xerobank.com/IPSpy";);
user_pref("browser.startup.homepage_override.mstone", "rv:1.8.1.8");
user_pref("browser.tabs.warnOnClose", false);
user_pref("dom.storage.enabled", false);
user_pref("intl.accept_languages",
"en-US,en,chrome://global/locale/intl.properties");
user_pref("intl.charsetmenu.browser.cache", "ISO-8859-1, UTF-8");
user_pref("layout.css.report_errors", false);
user_pref("network.cookie.lifetime.days", 0);
user_pref("network.cookie.lifetimePolicy", 2);
user_pref("network.cookie.prefsMigrated", true);
user_pref("network.dns.disableIPv6", true);
user_pref("network.http.keep-alive.timeout", 1000);
user_pref("network.http.max-connections-per-server", 16);
user_pref("network.http.max-persistent-connections-per-proxy", 24);
user_pref("network.http.max-persistent-connections-per-server", 16);
user_pref("network.http.pipelining", true);
user_pref("network.http.pipelining.maxrequests", 8);
user_pref("network.http.proxy.pipelining", true);
user_pref("network.http.use-cache", false);
user_pref("network.proxy.backup.ftp", "");
user_pref("network.proxy.backup.ftp_port", 0);
user_pref("network.proxy.backup.gopher", "");
user_pref("network.proxy.backup.gopher_port", 0);
user_pref("network.proxy.backup.socks", "localhost");
user_pref("network.proxy.backup.socks_port", 9050);
user_pref("network.proxy.backup.ssl", "");
user_pref("network.proxy.backup.ssl_port", 0);
user_pref("network.proxy.failover_timeout", 0);
user_pref("network.proxy.no_proxies_on", "");
user_pref("network.proxy.share_proxy_settings", true);
user_pref("network.proxy.socks", "localhost");
user_pref("network.proxy.socks_port", 9050);
user_pref("network.proxy.socks_remote_dns", true);
user_pref("network.proxy.type", 1);
user_pref("pref.privacy.disable_button.view_cookies", false);
user_pref("privacy.item.cookies", true);
user_pref("privacy.item.passwords", true);
user_pref("privacy.sanitize.didShutdownSanitize", true);
user_pref("privacy.sanitize.promptOnSanitize", false);
user_pref("privacy.sanitize.sanitizeOnShutdown", true);
user_pref("security.disable_button.openDeviceManager", false);
user_pref("security.warn_entering_secure", false);
user_pref("security.warn_entering_secure.show_once", false);
user_pref("security.warn_leaving_secure.show_once", false);
user_pref("security.warn_submit_insecure", false);
user_pref("security.xpconnect.plugin.unrestricted", false);
user_pref("signon.rememberSignons", false);
user_pref("xpinstall.whitelist.add", "");
user_pref("xpinstall.whitelist.add.103", "");
---------- END PREFS.JS ----------

---------- BEGIN USER.JS ----------

# Mozilla User Preferences

/* Do not edit this file.
 * XEROBANK TOR CONFIGURATION HARDCODE SETTINGS
 *
 * If you make changes to this file while the application is running,
 * the changes will be overwritten when the application exits.
 *
 * To make a manual change to preferences, you can visit the URL
about:config
 * For more information, see
http://www.mozilla.org/unix/customizing.html#prefs
 */

user_pref("browser.sessionstore.enabled", false);
user_pref("dom.storage.enabled", false);
user_pref("layout.css.report_errors", false);
user_pref("network.dns.disableIPv6", true);
user_pref("network.proxy.backup.ftp", "");
user_pref("network.proxy.backup.ftp_port", 0);
user_pref("network.proxy.backup.gopher", "");
user_pref("network.proxy.backup.gopher_port", 0);
user_pref("network.proxy.backup.socks", "localhost");
user_pref("network.proxy.backup.socks_port", 9050);
user_pref("network.proxy.backup.ssl", "");
user_pref("network.proxy.backup.ssl_port", 0);
user_pref("network.proxy.failover_timeout", 0);
user_pref("network.proxy.ftp", "");
user_pref("network.proxy.ftp_port", 0);
user_pref("network.proxy.gopher", "");
user_pref("network.proxy.gopher_port", 0);
user_pref("network.proxy.http", "");
user_pref("network.proxy.http_port", 0);
user_pref("network.proxy.no_proxies_on", "");
user_pref("network.proxy.share_proxy_settings", true);
user_pref("network.proxy.socks", "localhost");
user_pref("network.proxy.socks_port", 9050);
user_pref("network.proxy.socks_remote_dns", true);
user_pref("network.proxy.ssl", "");
user_pref("network.proxy.ssl_port", 0);
user_pref("network.proxy.type", 1);
user_pref("security.xpconnect.plugin.unrestricted", false);
---------- END USER.JS ----------