Table of contents
Chromium Docs
URIs of interest
get profile info
chrome://version/
get profile settings
chrome://profile-internals/
flags
chrome://flags/
url list
chrome://chrome-urls/
chrome://about/
?
chrome://proximity-auth
browser apps
paint app that you can use to draw with.
https://canvas.apps.chrome
Screen recording app that only works on Chrome OS. Sort of like Windows step recorder.
https://screencast.apps.chrome
Note-taking app that can use handwriting.
https://cursive.apps.chrome
Extensions
File Locations
- Windows XP:
C:\Documents and Settings\%USERNAME%\Local Settings\Application Data\Google\Chrome\User Data\Default\Extensions\<Extension ID>
- Windows 10/8/7/Vista:
C:\Users\%USERNAME%\AppData\Local\Google\Chrome\User Data\Default\Extensions\<Extension ID>
- macOS:
~/Library/Application Support/Google/Chrome/Default/Extensions/<Extension ID>
- Linux
~/.config/google-chrome
The ~/.config portion of the default location can be overridden by $CHROME_CONFIG_HOME (since M61) or by $XDG_CONFIG_HOME.
Note that $XDG_CONFIG_HOME affects all applications conforming to the XDG Base Directory Spec, while $CHROME_CONFIG_HOME is specific to Chrome and Chromium.
Extension ID can be found at chrome://extensions
(with Developer Mode enabled)
Linux: ~/.config/google-chrome/Default/Extensions/<Extension ID>
Ubuntu: ~/.config/google-chrome/Default/Extensions
Chrome OS: /home/chronos/Extensions/<Extension ID>
You can copy the extension folder and drop it on a USB or in a network drive.
To install
- Open Chrome and go to
chrome://extensions
- Make sure Developer Mode is checked.
- Click Load Unpacked Extension…
- Find your copied directory and click Open.
CLI
MacOS
Open Chrome from the terminal
open -a "Google Chrome"
open a specific URL in Chrome:
This will open the Google homepage in Chrome.
open -a "Google Chrome" "https://www.google.com"
using specified UserProfile
open -a "Google Chrome" --args --profile-directory=Default
open and create a new profile
open -n -a "Google Chrome" --args --user-data-dir=$(mktemp -d)
script to run Chrome with given profile, selected by the user-friendly profile name (rather than the profile directory name)
#!/bin/bash -eua profile_name=$1; shift local_state=~/Library/Application\ Support/Google/Chrome/Local\ State profile_key=`< "$local_state" jq -r ' .profile.info_cache | to_entries | .[] | select(.value.name == env.profile_name) | .key'` [ -n "$profile_key" ] open -a "Google Chrome" --args --profile-directory="$profile_key" "$@"
example usage:
chrome_profile "Profile Name" https://google.com/
Windows
Open
start chrome
open no address bar
start chrome --app="http://www.youtube.com/"
Kill all instances
taskkill /F /IM "chrome.exe" /T
or powershell
Stop-Process chrome
Get-Process -Name "chrome" -ErrorAction SilentlyContinue | kill -PassThru
runas admin
runas /user:administrator "C:\Program Files (x86)\Google\Chrome\Application\Chrome.exe"
incognito
start chrome /incognito
at specific site
start chrome www.<websiteURL>.com
Run With Switches
Exit any running-instance of Chrome.
- Right-click on your “Chrome” shortcut.
- Choose properties.
- At the end of your “Target:” line adds the command-line switch. For example:
--disable-gpu-vsync
With that example flag, it should look like below (replacing
--disable-gpu-vsync
with any other command-line switch you want to use):
chrome.exe --disable-gpu-vsync
Launch Chrome like normal with the shortcut.
Some Switches
Chromium Command | Description |
---|---|
–ash-force-desktop | Forces uses of the desktop version of Chrome |
–disable-3d-apis | Disables 3D APIs, including WebGL and Pepper 3D |
–disable-accelerated-video | Disables GPU accelerated video |
–disable-background-mode | Background apps won’t continue to run when Chrome exits. |
–disable-gpu | Disables hardware acceleration using the GPU |
–disable-plugins | Prevents all plugins from running |
–disable-plugins-discovery | Disables the discovery of missing plugins |
–disable-preconnect | Disables speculative TCP/IP preconnections |
–disable-translate | Disables the Google Translate feature |
–dns-prefetch-disable | Disable DNS prefetching |
–enable-kiosk-mode | Kiosk Mode for Chrome OS |
–incognito | Launches Chrome directly in Incognito private browsing mode |
–media-cache-size | Disk space used by media cache in bytes |
–multi-profiles | Enable multiple profiles in Chrome |
–new-profile-management | Enable the new profile management in Chrome |
–no-experiments | Run Chrome without experiments set in chrome://flags |
–no-pings | No hyperlink auditing pings |
–no-referrers | Use Chrome without sending referrers |
–purge-memory-button | Add purge memory button to Chrome |
–reset-variation-state | Change the field trials that the browser is currently signed up for |
–restore-last-session | Restore the last session on run |
–ssl-version-min | Specify the minimum SSL version accepted |
–start-maximized | Starts the Chrome window maximized. |
–window-position | Specify the initial window position using –window-position=x,y |
–window-size | Specify the initial window size using –window-size=x,y |