Showing posts with label tip. Show all posts
Showing posts with label tip. Show all posts

Tuesday, September 20, 2011

All Google Chrome starup switches - Part 2



Here a complete list of all startup switches in Chrome ad what they do:
// Allow third party content included on a page to prompt for a HTTP
// basic auth username/password pair.
const char kAllowCrossOriginAuthPrompt[]    = "allow-cross-origin-auth-prompt";

// On ChromeOS, file:// access is disabled except for certain whitelisted
// directories. This switch re-enables file:// for testing.
const char kAllowFileAccess[]               = "allow-file-access";

// Allow non-https URL for background_page for hosted apps.
const char kAllowHTTPBackgroundPage[]       = "allow-http-background-page";

// Don't block outdated plugins.
const char kAllowOutdatedPlugins[]          = "allow-outdated-plugins";

// Allows injecting extensions and user scripts on the extensions
// gallery site. Normally prevented for security reasons, but can be
// useful for automation testing of the gallery.
const char kAllowScriptingGallery[]         = "allow-scripting-gallery";

// Specifies comma separated list of extension ids to grant access to local
// websocket proxy.
const char kAllowWebSocketProxy[]           = "allow-websocket-proxy";

// Allow compositing on chrome:// pages.
const char kAllowWebUICompositing[]         = "allow-webui-compositing";

// This prevents Chrome from requiring authorization to run certain widely
// installed but less commonly used plug-ins.
const char kAlwaysAuthorizePlugins[]        = "always-authorize-plugins";

// Specifies that the associated value should be launched in "application" mode.
const char kApp[]                           = "app";

// Specifies that the extension-app with the specified id should be launched
// according to its configuration.
const char kAppId[]                         = "app-id";

// Override the apps checkout URL, which is used to determine when to expose
// some private APIs.
const char kAppsCheckoutURL[]               = "apps-checkout-url";

// Specifying this flag allows the webstorePrivate APIs to return browser (aka
// sync) login tokens to be used for auto-login in the Web Store (normally they
// do not).
const char kAppsGalleryReturnTokens[]       = "apps-gallery-return-tokens";

// The URL to use for the gallery link in the app launcher.
const char kAppsGalleryURL[]                = "apps-gallery-url";

// The update url used by gallery/webstore extensions.
const char kAppsGalleryUpdateURL[]          = "apps-gallery-update-url";

// Whether to always use the new app install bubble when installing an app.
const char kAppsNewInstallBubble[]          = "apps-new-install-bubble";

// Disable throbber for extension apps.
const char kAppsNoThrob[]                   = "apps-no-throb";

// Whitelist of servers that Negotiate will generate delegated Kerberos tickets
// for.
const char kAuthNegotiateDelegateWhitelist[] =
    "auth-negotiate-delegate-whitelist";

// HTTP authentication schemes to enable. This is a comma separated list
// of authentication schemes (basic, digest, ntlm, and negotiate). By default
// all schemes are enabled. The primary use of this command line flag is to help
// triage autentication-related issues reported by end-users.
const char kAuthSchemes[]                   = "auth-schemes";

// Whitelist of servers which NTLM and Negotiate can automatically authenticate
// with using the default credentials of the currently logged in user.
const char kAuthServerWhitelist[]           = "auth-server-whitelist";

// The value of this switch tells the app to listen for and broadcast
// automation-related messages on IPC channel with the given ID.
const char kAutomationClientChannelID[]     = "automation-channel";

// Causes the automation provider to reinitialize its IPC channel instead of
// shutting down when a client disconnects.
const char kAutomationReinitializeOnChannelError[] =
    "automation-reinitialize-on-channel-error";

// When the option to block third-party cookies from being set is enabled,
// also block third-party cookies from being read.
const char kBlockReadingThirdPartyCookies[] =
    "block-reading-third-party-cookies";

// How often (in seconds) to check for updates. Should only be used for
// testing purposes.
const char kCheckForUpdateIntervalSec[]     = "check-for-update-interval";

// Tells chrome to load the specified version of chrome.dll on Windows. If
// this version cannot be loaded, Chrome will exit.
const char kChromeVersion[]                 = "chrome-version";

// Comma-separated list of SSL cipher suites to disable.
const char kCipherSuiteBlacklist[]          = "cipher-suite-blacklist";

// Used with kCloudPrintFile.  Tells Chrome to delete the file when
// finished displaying the print dialog.
const char kCloudPrintDeleteFile[]          = "cloud-print-delete-file";

// Tells chrome to display the cloud print dialog and upload the
// specified file for printing.
const char kCloudPrintFile[]                = "cloud-print-file";

// Specifies the mime type to be used when uploading data from the
// file referenced by cloud-print-file.
// Defaults to "application/pdf" if unspecified.
const char kCloudPrintFileType[]            = "cloud-print-file-type";

// Used with kCloudPrintFile to specify a JSON print ticket for the resulting
// print job.
// Defaults to null if unspecified.
const char kCloudPrintPrintTicket[]            = "cloud-print-print-ticket";

// Used with kCloudPrintFile to specify a title for the resulting print
// job.
const char kCloudPrintJobTitle[]            = "cloud-print-job-title";

// The unique id to be used for this cloud print proxy instance.
const char kCloudPrintProxyId[]             = "cloud-print-proxy-id";

// The URL of the cloud print service to use, overrides any value
// stored in preferences, and the default.  Only used if the cloud
// print service has been enabled (see enable-cloud-print).
const char kCloudPrintServiceURL[]          = "cloud-print-service";

// Comma-separated options to troubleshoot the component updater.
// Only valid for the browser process.
const char kComponentUpdaterDebug[]         = "component-updater-debug";

// Causes the browser process to inspect loaded and registered DLLs for
// known conflicts and warn the user.
const char kConflictingModulesCheck[]       = "conflicting-modules-check";

// The Country we should use.  This is normally obtained from the operating
// system during first run and cached in the preferences afterwards.  This is a
// string value, the 2 letter code from ISO 3166-1.
const char kCountry[]                       = "country";

// Causes the browser process to crash if browser threads are not responding for
// the given number of seconds.
const char kCrashOnHangSeconds[]            = "crash-on-hang-seconds";

// Comma separated list of BrowserThreads that cause browser process to crash if
// the given browser thread is not responsive. UI,IO,DB,FILE,CACHE are the list
// of BrowserThreads that are supported.
//
// For example:
//    --crash-on-hang-threads=UI,IO --> Crash the browser if UI or IO thread is
//                                      not responsive.
const char kCrashOnHangThreads[]            = "crash-on-hang-threads";

// Causes the browser process to crash if the number of browser threads that are
// responding is equal to the given number.
//
// For example:
//    --crash-on-live=1 --> Crash if only one thread is responsive and all other
//                          threads are not responsive.
const char kCrashOnLive[]                   = "crash-on-live";

// Path to the inspector files on disk (allows reloading of devtool files
// without having to restart the browser).
const char kDebugDevToolsFrontend[]         = "debug-devtools-frontend";

// Enables a frame context menu item that toggles the frame in and out of glass
// mode (Windows Vista and up only).
const char kDebugEnableFrameToggle[]        = "debug-enable-frame-toggle";

// Enables support to debug printing subsystem.
const char kDebugPrint[]                    = "debug-print";

// Specifies the URL at which to fetch configuration policy from the device
// management backend. Specifying this switch turns on managed policy from the
// device management backend.
const char kDeviceManagementUrl[]           = "device-management-url";

// Triggers a pletora of diagnostic modes.
const char kDiagnostics[]                   = "diagnostics";

// Replaces the audio IPC layer for 

Wednesday, September 24, 2008

Chrome Tips: Resizing TextBox Area

Another interesting new feature in Google Chrome is the abilty to resize any multiline text box area.
It is very easy to use this feature. Whenever you find a Multi-line Text Box in a web form while browsing through Google Chrome, you would find a small grey dotted right-angled triangle on the lower right hand corner of the Text Box. The screen shot is shown below..

Resizing TextBox Area in google Chrome

Just click on this triangle & drag your mouse according to your needs to resize the Text Box. (Note: The Mouse Pointer does not change when the Mouse is kept over this triangle)

Wednesday, September 17, 2008

How To: Change Google Chrome User Agent

You can do lot of interesting things on the web if you know how to modify the user-agent string of a web browser. For instance, change the Chrome user-agent string to that of iPhone Safari and you’ll be to read popular magazines for free.

Or change the user-agent to Googlebot and you get to read Wall St. Journal stories without subscribing. Or use the user-agent of Opera Mini phone browser and see mobile versions of web pages even on the desktop.

While it is relatively easy to edit the User-Agent string of Firefox, IE, Flock or Apple Safari through add-ons and registry hacks but you don’t have that luxury in Chrome since Google’s browser doesn’t support external add-ons yet.

google-chrome-magazines 
iPhone version of Zinio Magazines in Google Chrome

It is however possible to change the user-agent of Google Chrome via the following hack - open Chrome.dll file inside a Hex viewer, search for the Chrome User Agent string and overwrite (not insert) that with the user-agent of another browser.  Thanks Ramzalot.

chrome-agent

Here are the full steps involved:

0. Make a backup of chrome.dll file - the file is available in the 0.2.xx folder of your Chrome installation folder (refer to #2).

1. Open chrome.dll inside Xvi32 and search for a patten that matches the default user agent string for Google Chrome :

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.13 (KHTML, like Gecko) Chrome/0.X.Y.Z Safari/525.13.

chrome-user-agent

2. Point the cursor to the letter M and choose Edit -> Overwrite String. Paste the user-agent of any other browser here. For instance, the strings for iPhone and Google spiders are:

Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A543 Safari/419.3

Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)

3. Close Google Chrome (if running) and then save the chrome.dll file inside the hex editor. Restart chrome.exe and type about: in the address bar to confirm if the user agent has changed. If you have trouble opening chrome after making the above changes, just delete the modified chrome.dll file and replace it with the old backup.

 google-iphone-version 
iPhone mobile version of Google Reader in Google Chrome

As an example, I change the user agent of Google Chrome to iPhone and that is the reason why Google opening the iPhone optimized version of Google Reader even inside Chrome.

If you plan to use this trick more frequently, a better option is that you create multiple copies of chrome.dll - one per user agent. Now if you want Chrome to emulate IE or Firefox, just make rename the chrome-firefox.dll or chrome-iphone.dll to chrome.dll.

Tuesday, September 16, 2008

Google Chrome Trick: Calculate from Omnibox!

Google Chrome Trick: Calculate from Omnibox!

Google Chrome is a pretty fascinating browser. With the power of Google Search available from the address bar itself, you can actually conduct searches from the Omnibox itself.

Just type in a calculation. You do not even need to press enter. As the answer would just arrive in the drop down section!

google chrome math trick

Google Chrome Trick - Changing The Default Search Engine

Google web browser has very minimum option for customization as it is already built to suit the Internet users,if you have Google chrome browser downloaded on your PC then you will know that the browser has a smart address bar which also acts as search engine,this means you can type the website address with automatic url suggestion as well as search in search engine using the same bar.

 

When you are done with installation of Chrome,you will have a option to change the search engine and also to import the password,history and bookmarks from other browser (backup and restore the chrome profile).If you have skipped changing the search engine then Google chrome will have a default search engine set which is “Google.com”.Also chrome can be empowered with firefox chrome addon/extension. If you are a user who uses other search engine like yahoo,MSN live search then here is a simple trick to change the default search engine.

Open your Chrome browser and using your mouse,right click on the address bar,this shows up various things like paste,paste and go and Edit search engine.

google_chrome_search_engine_trick

Click on Edit search engine and a dialog box will appear with information about the various default and other search engine available.

change_chrome_browser_search

Click on Add or choose from the existing search engine and click on Make default.Alternately you can choose Yahoo,MSN live search engine and make is as default, also you can remove any search engine or add local search engine easily!

Friday, September 12, 2008

Tip: Changing the Icons on the Bookmarks Bar

I figured out a way to change the icons on the Bookmarks bar after I
got tired of the default icon showing for all of my bookmarklets.
You'll need the SQLite Database Browser (free).

First, you'll need to download and install the free SQLite Database browser.

Now, open Google Chrome and visit the site(s) that have the favicon you want displayed in your Bookmarks bar. After you have completed this, close Google Chrome.

We are ready to change icons:

1. Open SQLite Database browser.

2. Go to the toolbar and select the Open (folder) icon to bring up the Open window.



3. When the open window appears, you will need to browse to the following directory:

In Windows XP:

C:\Documents and Settings\\Local Settings\Application Data\Google\Chrome\User Data\Default


In Windows Vista:

C:\Users\\AppData\Local\Google\Chrome\User Data\Default


Note: change username to your username.

4. Open the History file.

5. Select the Browse Data tab.

6. Select urls from the Table dropdown.

7. The table will appear with the following columns: id, url, title, visit_count, typed_count, last_visit_time, hidden, favicon_id and starred_id. Our main focus will be on the favicon_id and starred_id columns, but you will need to pay attention to the title column as well. Any row that has a value other than 0 in the starred_id column is a bookmark. Any row that has a value other than 0 in the favicon_id column has an icon associated with it (if it has a 0, it will use the default icon).

8. Locate one of the sites you browsed to earlier that contains the desired favicon that you wish to use. Make sure it has a value in the favicon_id column. When you have located it, make note of the value that is in the favicon_id column.

9. Now locate the bookmark that you want to assign the favicon to. The title may appear more than once, so you must make sure that you select the record that has a value in the starred_id column.

10. Double-click the favicon_id record (the one that is 0) to open the Edit database cell window.

11. Change the 0 to the value you got from Step 8.

12. Click the Apply Changes button.

13. Repeat this process until you have finished assigning icons to your bookmarks.

14. Go to the toolbar and click the Save icon.


Now open up Google Chrome and check out your Bookmarks bar.


Tip for "never remember password" in Google Chrome

If you have accidentally selected "never remember password" and now your password
will not auto populate for your gmail account there is a way to undo
this:


You'll have to clear your browsing history, and then revisit Gmail and
login, and Chrome will then again ask you to remember your password
for it.

Thursday, September 11, 2008

All Google Chrome Startup Switches


A Complete list to Google Chrome Startup Switches...
see below








-disable-hang-monitor
-disable-metrics
-disable-metrics-reporting
-assert-test
-renderer-assert-test
-crash-test
-renderer-crash-test
-renderer-startup-dialog
-plugin-startup-dialog
-testshell-startup-dialog
-plugin-launcher
-channeltesting-channel
-homepagestart-renderers-manuallyrenderer
-renderer-pathplugin
-single-process
-process-per-tab
-process-per-site
-in-process-plugins
-no-sandbox
-safe-plugins
-trusted-plugins
-test-sandbox
-user-data-dir
-appupload-file
-dom-automation
-plugin-pathjs-flags
-geoidlangdebug-children
-wait-for-debugger-children
-log-filter-prefix
-enable-logging
-dump-histograms-on-exit
-disable-logging
-remote-shell-port
-uninstallomnibox-popup-count
-automation-channel
-restore-last-session
-record-mode
-playback-mode
-no-events
-hide-icons
-show-icons
-make-default-browser
-proxy-server
-dns-log-details
-dns-prefetch-disable
-debug-print
-allow-all-activex
-disable-dev-tools
-always-enable-dev-tools
-memory-model
-tab-count-to-load-on-session-restore
-memory-profile
-enable-file-cookies
-start-maximized
-enable-watchdogfirst-run
-message-loop-strategy
-message-loop-histogrammer
-importsilent-dump-on-dcheck
-disable-prompt-on-repost
-disable-popup-blocking
-disable-javascript
-disable-java
-disable-plugins
-disable-images
-use-lf-heap
-new-http

For a list of startup switches that can be speed up you Google Chrome click here

Thursday, September 4, 2008

Google Chrome Tricks

There are a lot of tricks in Google Chrome. I report here a list of all I've found

In address bar type:

about:network show stats for network usage
about:stats show general statistics about Google Chrome usage
about:cache chache usage
about:histograms show Chrome performances
about:plugins All plugins installed, fantastic!
about:dns Show Prefetched DNS
about:version Google Chrome Version
about:memory Browsers and Browser's process memory usage
about:crash crash the active tab
about:hang ??? help me :)
about:internets this is an Easter egg, show 3D savescreen

if you type ":%" (without quotes) Google Chrome Crash immediatly.


Shortcut List

1) F3 & CTRL+F Search on Page
2) F5 Reload
3) CTRL+D bookmark
4) CTRL+W close Google Chrome Window
5) CTRL+E enter search query at address bar
6) CTRL+R Refresh
7) CTRL+T New Tab
8) CTRL+U view source
9) CTRL+O Open Web Page
10) CTRL+H History
11) CTRL+J Download File History
12) CTRL+B Show/Hide Bookmark Toolbar
13) CTRL+N new Google Chrome window
14) CTRL +/- increase decrease Fonts
15) CTRL+P Print
16) ALT+D Select Address bar
17) ALT+leftArrow/RightArrow Go Backword/Forword
18) ALT+` Java Debugger
19) CTRL+TAB or CTRL+PGUP/PGDW switch between Tabs
20) CTRL+SHIFT+N Private Browsing (New incognito window)
21) SHIFT+ECS Chrome Task Manager


Have a Good Navigation