15楼#
发布于:2014-06-19 19:22
OCSP好像也可以算这一类?
和第4种类似 |
|
|
16楼#
发布于:2014-06-19 19:41
|
|
|
17楼#
发布于:2014-06-19 20:06
|
|
|
18楼#
发布于:2014-07-03 11:24
不是按流量收费的对这个无所谓吧
|
|
19楼#
发布于:2014-07-03 15:16
|
|
|
20楼#
发布于:2014-07-03 17:06
虽然用不到不过总结的很全面,应该会对很多人提供帮助
|
|
|
21楼#
发布于:2014-07-05 20:13
很有用,不过苍月版是比较干净的。
|
|
22楼#
发布于:2014-08-05 13:39
|
|
23楼#
发布于:2014-08-05 14:53
kenren:很有用,不过苍月版是比较干净的。回到原帖这个叫干净?呵呵呵 +// ****************** App/Update/General ****************** + +pref("startup.homepage_override_url","http://www.palemoon.org/"); +pref("startup.homepage_welcome_url","http://www.palemoon.org/firstrun.shtml"); +// Interval: Time between checks for a new version (in seconds) -- 2 days for Pale Moon +pref("app.update.interval", 172800); +pref("app.update.auto", false); +pref("app.update.enabled", true); +// URL for update checks, re-enabled on palemoon.org (369) +pref("app.update.url", "http://www.palemoon.org/update/%VERSION%/%BUILD_TARGET%/update.xml"); +pref("app.update.promptWaitTime", 86400); +// The time interval between the downloading of mar file chunks in the +// background (in seconds) +pref("app.update.download.backgroundInterval", 600); +// Give the user x seconds to react before showing the big UI. default=48 hours +pref("app.update.promptWaitTime", 172800); +// URL user can browse to manually if for some reason all update installation +// attempts fail. +pref("app.update.url.manual", "http://www.palemoon.org/"); +// A default value for the "More information about this update" link +// supplied in the "An update is available" page of the update wizard. +pref("app.update.url.details", "http://www.palemoon.org/releasenotes-ng.shtml"); +// Additional Update fixes - no SSL damnit, I don't have a cert (4.0) +pref("app.update.cert.checkAttributes", false); +pref("app.update.cert.requireBuiltIn", false); +// Fix useragent for UA sniffing websites +pref("general.useragent.compatMode.firefox", true); +// Make sure we shortcut out of a11y to save walking unnecessary code +pref("accessibility.force_disabled", 1); + +// ****************** Release notes and vendor URLs ****************** + +pref("app.releaseNotesURL", "http://www.palemoon.org/releasenotes-ng.shtml"); +pref("app.vendorURL", "http://www.palemoon.org/"); +pref("app.support.baseURL", "http://www.palemoon.org/support/"); +pref("browser.mixedcontent.warning.infoURL", "http://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/mixed-content/"); +//Add-on window fixes +pref("extensions.getAddons.browseAddons", "https://addons.mozilla.org/%LOCALE%/firefox"); +pref("extensions.getAddons.maxResults", 10); +pref("extensions.getAddons.recommended.browseURL", "https://addons.mozilla.org/%LOCALE%/firefox/recommended"); +pref("extensions.getAddons.recommended.url", "https://services.addons.mozilla.org/%LOCALE%/firefox/api/%API_VERSION%/list/featured/all/10/%OS%/%VERSION%"); +pref("extensions.getAddons.search.browseURL", "https://addons.mozilla.org/%LOCALE%/firefox/search?q=%TERMS%"); +pref("extensions.getAddons.search.url", "https://services.addons.mozilla.org/%LOCALE%/firefox/api/%API_VERSION%/search/%TERMS%/all/10/%OS%/%VERSION%"); +pref("extensions.getMoreThemesURL", "https://addons.mozilla.org/%LOCALE%/firefox/getpersonas"); +pref("extensions.blocklist.url", "https://addons.mozilla.org/blocklist/3/firefox/%APP_VERSION%/%PRODUCT%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/"); +pref("extensions.blocklist.itemURL", "https://addons.mozilla.org/%LOCALE%/firefox/blocked/%blockID%"); +pref("extensions.webservice.discoverURL","https://services.addons.mozilla.org/%LOCALE%/firefox/discovery/pane/%VERSION%/%OS%"); +pref("extensions.getAddons.get.url","https://services.addons.mozilla.org/%LOCALE%/firefox/api/%API_VERSION%/search/guid:%IDS%?src=firefox&appOS=%OS%&appVersion=%VERSION%&tMain=%TIME_MAIN%&tFirstPaint=%TIME_FIRST_PAINT%&tSessionRestored=%TIME_SESSION_RESTORED%"); +//Add-on updates: hard-code base Firefox version number. +pref("extensions.update.background.url","https://versioncheck-bg.addons.mozilla.org/update/VersionCheck.php?reqVersion=%REQ_VERSION%&id=%ITEM_ID%&version=%ITEM_VERSION%&maxAppVersion=%ITEM_MAXAPPVERSION%&status=%ITEM_STATUS%&appID=%APP_ID%&appVersion=24.0&appOS=%APP_OS%&appABI=%APP_ABI%&locale=%APP_LOCALE%¤tAppVersion=%CURRENT_APP_VERSION%&updateType=%UPDATE_TYPE%&compatMode=%COMPATIBILITY_MODE%"); +pref("extensions.update.url","https://versioncheck.addons.mozilla.org/update/VersionCheck.php?reqVersion=%REQ_VERSION%&id=%ITEM_ID%&version=%ITEM_VERSION%&maxAppVersion=%ITEM_MAXAPPVERSION%&status=%ITEM_STATUS%&appID=%APP_ID%&appVersion=24.0&appOS=%APP_OS%&appABI=%APP_ABI%&locale=%APP_LOCALE%¤tAppVersion=%CURRENT_APP_VERSION%&updateType=%UPDATE_TYPE%&compatMode=%COMPATIBILITY_MODE%"); +//Search engine fixes +pref("browser.search.searchEnginesURL", "https://addons.mozilla.org/%LOCALE%/firefox/search-engines/"); +//Dictionary URL +pref("browser.dictionaries.download.url", "https://addons.mozilla.org/%LOCALE%/firefox/dictionaries/"); +//Geolocation info URL +pref("browser.geolocation.warning.infoURL", "http://www.mozilla.com/%LOCALE%/firefox/geolocation/"); +//add-on/plugin blocklist -> Palemoon.org +pref("extensions.blocklist.url","http://blocklist.palemoon.org/%VERSION%/blocklist.xml"); + +pref("browser.search.param.ms-pc", "MOZI"); +pref("browser.search.param.yahoo-fr", "moz35"); +pref("browser.search.param.yahoo-fr-cjkt", "moz35"); // now unused +pref("browser.search.param.yahoo-fr-ja", "mozff"); + +// ****************** domain-specific UAs ****************** + +pref("general.useragent.override.live.com","Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0 (Pale Moon)"); +pref("general.useragent.override.outlook.com","Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0 (Pale Moon)"); +pref("general.useragent.override.web.de","Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0 (Pale Moon)"); +pref("general.useragent.override.aol.com","Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0 (Pale Moon)"); +pref("general.useragent.override.privat24.ua","Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0"); +pref("general.useragent.override.google.com","Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0 (Pale Moon)"); + +// ****************** Extensions/plugins ****************** + +pref("plugins.click_to_play" , true); //Enable tri-state option (Always/Never/Ask) +pref("plugin.default.state", 2); //Allow plugins to run by default +pref("plugin.expose_full_path", true); //Security: expose the full path to the plugin + +// ****************** Networking config ****************** + +pref("network.prefetch-next", false); //prefetching engine off by default! +pref("network.http.pipelining" , true); //pipelining on by default, haven't seen any issues +pref("network.http.pipelining.ssl" , true); +pref("network.http.proxy.pipelining", false); // pipeline proxy requests - breaks some proxies! (406) +pref("network.http.pipelining.aggressive", true); +pref("network.http.pipelining.max-optimistic-requests", 4); +pref("network.http.pipelining.maxrequests", 4); // Max number of requests in the pipeline +pref("network.http.max-connections",48); // Don't saturate the network layer and go easy on poor residential routers&wireless! (FF=256) +pref("network.http.max-connections-per-server",10); // With pipelining, this should be low (FF=15) +pref("network.http.pipelining.read-timeout", 5000); //More aggressive fallback to non-pipelined +pref("network.http.pipelining.reschedule-timeout", 1000); +pref("network.http.max-persistent-connections-per-proxy", 8); +pref("network.http.max-persistent-connections-per-server", 6); +pref("network.dns.disablePrefetch", true); //Disable DNS prefetching to prevent router hangups +pref("network.dnsCacheEntries", 1024); //cache 1024 instead of 20 +pref("network.dnsCacheExpiration", 3600); //TTL 1 hour + +// ****************** Renderer config ****************** + +pref("nglayout.initialpaint.delay", 150); +pref("gfx.color_management.mode",2); //Use CMS for images with ICC profile. +pref("gfx.color_management.enablev4", true); //Use "new" handler to prevent display issues for v4 ICC embedded profiles! + +// ****************** UI config ****************** + +pref("browser.tabs.insertRelatedAfterCurrent", false); //use old method of tabbed browsing instead of "Chrome" style +pref("general.warnOnAboutConfig", false); //about:config warning. annoying. I don't give warranty. +pref("browser.download.useDownloadDir", false); //don't use default download location as standard. ASK. +pref("browser.search.context.loadInBackground", true); //don't swap focus to the context search tab. +pref("browser.ctrlTab.previews", true); +pref("browser.allTabs.previews", true); +pref("browser.urlbar.trimURLs", false); //stop being a derp, Mozilla! +pref("browser.identity.ssl_domain_display", 1); //show domain verified SSL (blue) +pref("browser.urlbar.autoFill", true); +pref("browser.urlbar.autoFill.typed", true); + +pref("social.enabled", false); + +//Set tabs NOT on top +pref("browser.tabs.onTop",false); + +//Smooth scrolling settings +pref("general.smoothScroll",true); +pref("general.smoothScroll.lines",true); +pref("general.smoothScroll.lines.durationMinMS",50); +pref("general.smoothScroll.lines.durationMaxMS",200); +pref("general.smoothScroll.pages",false); +pref("general.smoothScroll.pages.durationMinMS",200); +pref("general.smoothScroll.pages.durationMaxMS",600); +pref("general.smoothScroll.mouseWheel",true); +pref("general.smoothScroll.mouseWheel.durationMinMS",150); +pref("general.smoothScroll.mouseWheel.durationMaxMS",500); +pref("general.smoothScroll.scrollbars",true); +pref("general.smoothScroll.scrollbars.durationMinMS",50); +pref("general.smoothScroll.scrollbars.durationMaxMS",200); +pref("general.smoothScroll.other",false); +pref("general.smoothScroll.other.durationMinMS",200); +pref("general.smoothScroll.other.durationMaxMS",600); + + +// ****************** Misc. config ****************** + +// Download manager +pref("browser.download.manager.flashCount", 10); +pref("browser.download.manager.scanWhenDone", false); //NIB, make sure to disable to prevent hangups +pref("browser.altClickSave", true); //SBaD,M! (#2) + +//plugin kill timeout +pref("dom.ipc.plugins.timeoutSecs", 20); + +//Automatically update extensions by default +pref("extensions.update.autoUpdateDefault", true); + +//cache handling 1GB -> 250MB by default, disable automatic +//max element size -> 4MB, caching anything larger is not recommended +pref("browser.cache.disk.smart_size.enabled",false); +pref("browser.cache.disk.capacity",256000); //250MB +pref("browser.cache.disk.max_entry_size",4096); +pref("browser.cache.memory.capacity",-1); //dynamically allocate RAM cache as-needed. +pref("browser.cache.memory.max_entry_size",-1); + +//Improve memory handling for js +pref("javascript.options.mem.gc_per_compartment", true); +pref("javascript.options.mem.high_water_mark", 64); +pref("javascript.options.mem.max", -1); +pref("javascript.options.gc_on_memory_pressure", true); +pref("javascript.options.mem.disable_explicit_compartment_gc", true); +//add IGC and adjust time slice +pref("javascript.options.mem.gc_incremental",true); +pref("javascript.options.mem.gc_incremental_slice_ms",20); + +//DOM +pref("dom.disable_window_status_change", false); //Allow status feedback by default +//Set max script runtimes to sane values +pref("dom.max_chrome_script_run_time", 90); //Some addons need ample time! +pref("dom.max_script_run_time", 20); //Should be plenty for a page script to do what it needs + +//Media components +pref("media.webaudio.enabled", true); + +//Image decoding tweaks +pref("image.mem.max_ms_before_yield", 50); +pref("image.mem.decode_bytes_at_a_time", 65536); //larger chunks + +//store sessions less frequently to prevent redundant mem usage by storing too much +pref("browser.sessionstore.interval",60000); //every minute instead of every 10 seconds +pref("browser.sessionstore.privacy_level",1); //don't store session data (forms, etc) for secure sites |
|
|
24楼#
发布于:2014-08-05 14:55
fiag:safebrowsing 有时会影响页面加载关联bug:https://bugzilla.mozilla.org/show_bug.cgi?id=1024555 |
|
|
25楼#
发布于:2014-08-26 20:31
更新 Nightly 轻量主题自动更新的关闭方法。
|
|
|
26楼#
发布于:2014-10-23 11:34
cisco的openh264默认会自动联网下载更新
参考 https://bugzilla.mozilla.org/show_bug.cgi?id=1057990 https://bugzilla.mozilla.org/show_bug.cgi?id=1046644 禁止自动更新 media.gmp-gmpopenh264.autoupdate false |
|
|
27楼#
发布于:2014-10-23 12:04
aaaa007cn:cisco的openh264默认会自动联网下载更新这个我不知道为啥mozilla不做成本地版本的 cisco的授权不允许? |
|
|
28楼#
发布于:2014-10-23 12:47
不知道
反正用addon sdk测试扩展时总是在console中看到这个更新 https://bugzilla.mozilla.org/show_bug.cgi?id=1049774 仔细看,会发现每新建一个profile就要下载一次…… 再加上33.0~35.0总是跳“###!!! [Child][DispatchAsyncMessage] Error: Route error: message sent to unknown actor ID” 搞得烦死了…… |
|
|
29楼#
发布于:2014-11-17 19:40
磁贴更新、回报
https://wiki.mozilla.org/Tiles/Technical_Documentation 相关代码见 http://mxr.mozilla.org/mozilla-central/source/browser/modules/DirectoryLinksProvider.jsm 禁止更新 browser.newtabpage.directory.source = data:application/json,{} This preference can be set to anything that returns JSON, setting this to an empty JSON object will disable Tiles from showing and fetching new Tiles. 禁止回报 browser.newtabpage.directory.ping = 空字符串 Do not set this to alternate URLs, setting this to nothing will disable the ping. |
|
|