

Run Chrome without experiments set in chrome://flagsĬhange the field trials that the browser is currently signed up for Launches Chrome directly in Incognito private browsing modeĮnable the new profile management in Chrome

Chromium Commandįorces uses of the desktop version of Chromeĭisables 3D APIs, including WebGL and Pepper 3Dīackground apps won't continue to run when Chrome exits.ĭisables hardware acceleration using the GPUĭisables the discovery of missing pluginsĭisables speculative TCP/IP preconnections The following list highlights important Chrome command line switches for users of the Google browser. List of Google Chrome Command Line Switches Some switches are only useful to developers as they enable them to test certain features in Chromium, while others have practical uses that users of the web browser will appreciate as well. window.Google Chrome supports hundreds of different command line switches (or flags) that may add features to the browser, change how features work, or remove features from it.depending on the server, parts of a web page referring to the site URL (like href and src attributes) could be different from the original.It's not pretty, but it's good enough for the standard web developer who's trying to switch between environments quick. allow different host/IP pairings in different tabs at the same time.add a visual (and ugly, I'll admit) reference in the address bar URL, which will look something like.

redirect the request to the desired IP with the appropriate HTTP Host header.detect requests to one of the defined hostnames.lets you set up multiple hostname/IP entries.A Chrome extension cannot exactly replicate what happens when you change the hostfile though, so what LiveHosts does right now is: The gist of it is that while is right and setting up a proxy would be the correct solution, it's often not an option. I used (and still use) HostAdmin religiously, but having to empty the cache or opening a new incognito window every time has always been a chore, so I ended up developing a Chrome extension for myself last year to help with a similar situation, and I recently published a very rough version of it in the Chrome Web Store, it's called LiveHosts. Note that this is far better than what you are doing with the hosts file, which is an unsuitable mechanism for manipulating A rewriting proxy HTTP server of this sort, in contrast, deals in URLs and only affects HTTP and the (There are instances of this very thing in Ad Zapper's configuration database, notice.) And one can do things like have one WWW browser viewing the world through the rewriting proxy and another viewing it directly, on a single machine simultaneously. As you can see from its configuration database, people have employed its mechanism for a wide range of purposes, from ensuring that one always sees the "printable" forms of articles on news services to getting rid of the randomized advertising redirections on Internet pornography sites. That's a Perl script that works in conjunction with the Squid proxy HTTP server to rewrite URLs on the fly in the proxy server. They want the For one example, see the Ad Zapper at SourceForge.

They do so for purposes of zapping advertisements, web bugs, and suchlike, but the principle and the mechanism are identical to what you want to do. There are many people who do this, with various different proxy HTTP servers - too many to cover each in detail in an answer here. That way is to set up an intelligent proxy HTTP server, point Chrome at it, and then add rewriting rules to the proxy server that rewrite URLs under the covers. One way to achieve your actual goal does not involve Chrome extensions, or even Chrome, at all.
