2010年9月28日

Google瀏覽器的參數

忘了是從哪個網站看到的,不過下列這些參數很實用。
(如有違反,煩請告知,謝謝!)
如果您是使用chrome瀏覽器,那麼可做些設定,讓google瀏覽器跑的更順,
也更符合您的需求…


我是使用個別的目錄,以方便備份一些資料或紀錄…
如:--user-data-dir=d:\necos\chrome(為自己設定的目錄)

另外,我想讓chrome能夠自動優化記憶體,手動的有時會按錯,容易當機…
(具有研究精神可以自行嘗試)
如:--purge-memory-button

chrom為了保護程式,所以會有些動作遭到限制,如果硬要安裝,
像我安裝rplurk外掛,加上目錄又設定到了d糟,結果無法安裝…
會出現「無法安裝擴充功能問題」的對話框,
如果要解決,那麼就再上去吧… --no-sandbox



參數名稱 參數說明
--activate-on-launch
--allow-sandbox-debugging 允許沙盒除錯
--always-enable-dev-tools 允許使用開發工具進行視窗的除錯
--app
--automation-channel 自動化頻道
--bookmark-menu 開啟書籤選單
--assert-test
--crash-test 模擬Chrome當機
--browser-subprocess-path 瀏覽器沙盒路徑
--chrome-frame
--country
--debug-print 輸出除錯訊息
--diagnostics
--disable-winsta
--disable-audio 關閉音效
--disable-byte-range-support
--disable-custom-jumplist
--disable-databases
--disable-desktop-notifications
--disable-dev-tools
--disable-extensions
--disable-hang-monitor
--disable-ipv6 關閉ipv6
--disable-images 關閉圖片
--disable-javascript 關閉javascript
--disable-java 關閉java
--disable-logging 關閉自動登入
--disable-metrics
--disable-new-tab-first-run
--disable-plugins 關閉外掛
--disable-popup-blocking 關閉封鎖彈出式視窗
--disable-prompt-on-repost
--disable-shared-workers
--disable-site-specific-quirks
--disable-sync 關閉書籤同步
--disable-web-resources
--disable-web-security
--disable-web-sockets
--disable-xss-auditor
--disk-cache-dir
ex:"chrome.exe" --disk-cache-dir="X:/" 指定暫存檔快取目錄
--disk-cache-size 快取暫存容量大小
--dns-log-details
--dns-prefetch-disable
--dom-automation
--dump-histograms-on-exit
--enable-application-cache 開啟應用程式快取
--enable-benchmarking
--enable-experimental-extension-apis
--enable-webgl
--enable-extension-timeline-api
--enable-extension-toolstrips
--enable-fastback
--enable-file-cookies
--disable-local-storage
--enable-logging 開啟自動登入
--enable-monitor-profile
--enable-native-web-workers
--enable-new-autofill
--disable-remote-fonts
--enable-renderer-accessibility
--enable-seccomp-sandbox
--enable-session-storage
--enable-stats-table
--enable-sync 開啟同步書籤
--enable-tabtastic2
--enable-udd-profiles
--enable-watchdog
--experimental-spellchecker-features 開啟實驗性拼字檢查
--explicitly-allowed-ports
--extension
--extensions-update-frequency
--file-descriptor-limit
--first-run
--force-fieldtest
--hide-icons 隱藏圖示
--homepage
ex:"chrome.exe"--homepage=http://www.minwt.com 開啟首頁
--import
--in-process-plugins 外掛不啟用處理序
--incognito 無痕視窗
--internal-nacl
--js-flags
--load-extension
--load-plugin 載入外掛
--log-filter-prefix
--log-plugin-messages
--log-level
--make-default-browser
--media-cache-size
--memory-profile
--message-loop-histogrammer
--metrics-recording-only
--nacl
--new-tab-page
--no-default-browser-check 關閉啟動時預設瀏覽器檢查
--no-events
--no-first-run
--no-js-randomness
--no-proxy-server 不使用代理伺服器
--no-sandbox 取消沙盒模式
--omnibox-popup-count
--pack-extension
--pack-extension-key
--parent-profile
--pinned-tab-count
--playback-mode
--plugin-data-dir 外掛資料夾名稱
--plugin-launcher
--plugin-path 外掛路徑
--plugin
--plugin-startup-dialog
--print
--privacy-blacklist
--process-per-site 每個站台使用獨立處理序
--process-per-tab 每個標籤使用獨立處理序
--profile-import
--proxy-auto-detect
--proxy-bypass-list
--proxy-pac-url
--proxy-server
--purge-memory-button
--record-mode
--remote-shell-port
--renderer-assert-test
--renderer-cmd-prefix
--renderer-crash-test
--renderer
--renderer-startup-dialog
--restore-last-session
--safe-plugins
--enable-sdch
--enable-sync-extensions 開啟外掛同步
--search-in-omnibox-hint
--show-icons 顯示小圖示
--show-extensions-on-top 外掛顯示在上方
--silent-dump-on-dcheck
--simple-data-source
--single-process 單處理序運行(瀏覽有些網站會導致chrome掛掉)
--start-maximized 開啟時最大化
--sync-url 同步網址
--syncer-thread-timed-stop
--tab-count-to-load-on-session-restore
--test-name
--test-sandbox
--testing-channel
--thumbnail-store
--trusted-plugins
--try-chrome-again
--uninstall
--use-flip
--testing-fixed-server
--use-lf-heap
--user-agent
ex:--user-agent="Opera/9.63 (Windows NT 5.2; U; zh-tw) Presto/2.1.1"

ex:--user-agent="iPhone 的 User Agent" 偽裝瀏覽器名稱
--user-data-dir
ex:--user-data-dir="c:\Temp" 設定資料目錄(書籤和歷史瀏覽記錄目錄)
--user-scripts-dir
--utility-cmd-prefix
--utility
--utility-allowed-dir
--wait-for-debugger-children
--web-worker-process-per-core
--web-worker-share-processes
--winhttp-proxy-resolver
--wininet-ftp
--worker
--worker-startup-dialog
--zygote-cmd-prefix
--zygote
--kiosk 全螢幕不可調整


by necos.s

沒有留言:

張貼留言