Académique Documents
Professionnel Documents
Culture Documents
Men u Home Articles Cameras, Video, Audio Computers Solid-State Drive Migration, Installation Fix Google Chrome Video Review: CMStorm Keyboard Upgrade Your Browser Browser Bugs Cleaning Windows Setting up a LAN Blinking Tooltips Keyboard Problems Thunderbird: Paste Without Formatting fix Web Development Ham Radio Homemade Bread Homemade Soap Linux Christianity Classic Books My Brochure Search
Chrome is great and I love it. But theres a few things that I, and lots of other people, dont like. Ill cover some of them here. Is it legal? Yes, Chrome is built from the open source Chromium, and you can mod it if you want to. You can even get the sources and compile it from scratch if you want to, and you can distribute your modded version. But we wont be compiling a custom Chrome replacement here, just tweaking things a bit.
Search
1/8
04/12/12
1. Download and install Resource Hacker (free!). 2. Locate c r m . l in the program files folder hoedl where Chrome is installed, usually c \ r g a :Porm
Fls ie
(8)Gol\hoeApiainlts.eso.ubr. x6\ogeCrm\plcto\aetvrinnme\
3. Copy it to c r m . r g d las a backup. hoeoi.l 4. Run Resource Hacker and open c r m . l . hoedl 5. Find (Ctrl-F) the text I ' i p r a t t a t i b t e f r t s r p ts motn ht hs e h is cit l a e (or very similar; they might change it in later versions). odd 6. Put this line right below the It's important that line (make sure its above the first <script> tag): < c i t w n o . o a i n = ' t p / l c l o t ' < s r p > (replace srp>idwlcto ht:/oahs/;/cit localhost with your desired homepage URL). It forces an immediate redirect and ignores the remainder of the new tab resource. 7. Click Compile then menu File, Save c r m . l . Start Chrome and test it by hoedl opening a new tab. Notes:
kv5r.com/articles/win/fix-google-chrome.asp 2/8
04/12/12
You will have to do this again each time Google updates chrome and replaces chrome.dll, so save these instructions in a handy text file. Also in Chrome, set your homepage to New Tab (Wrench, Settings, On Startup, Open the New Tab page). Otherwise, after your mod, it will simply load it twice upon start-up. The only useful thing (IMO) on the New Tab page is Recently Closed Tabs. To restore that handy functionality, install an extension called Recently Closed Tabs.
Problem 2: You Cant Make Chrome Put Its Cache Elsewhere (Oh yes you can!)
ou just installed a brand-spanking-new solid-state drive, and youve read that you should try to move temp and cache files off to a hard drive (see also: my SSD Migration page). All browsers except Chrome allow you to do this from within the browser. But I found a wayin fact, I found three ways!
regedit
and
open
up
04/12/12
removed, so youll have to explicitly re-create them. Click Add, Advanced, Find Now, and scroll down and click SYSTEM. Ok, Ok. Then, in the Permissions box that pops up, check to allow only Query Value and Read Control. Ok. Apply. Now repeat above but add Administrators, and Check Full Control and then uncheck Delete. Ok, Apply, Ok, Ok. Now even you cant delete the \Google\Chrome keys, unless you give Administrators permission in the Google key! Note that only the user listed in the Owner tab can change permissions on folders, files, and registry keys. Now do all the above again, this time in
HE_URN_SRSfwr\oiisGol\hoe KYCRETUE\otaePlce\ogeCrm.
If you have multiple users, youll need to put the keys and value you added in HKEY_CURRENT_USER also in the HKEY_USERS trees for each S-15-SomeLongNumber (called SIDs) user trees, and set them to a different cache folder in your temp location. You can tell which SID is which user by typing w i u e a c u t g t n m , i at a command prompt. The real mc srcon e aesd human users SIDs will likely end in 1001, 1002, etc., and the other SIDs are for SYSTEM and such. Now, without Chrome running, go to
04/12/12
After adding UserDataDir to the above reg keys (and rebooting), run Chrome and itll make the its default user data stuff in the path you specified, but the browser will come up like a new install. To get all your settings (bookmarks, history, etc.) into it, move all the stuff in c \ s r \ o r n m \ p D t \ o a \ o g e C r m \ s r D t \ to the new :Uesyu-aeApaaLclGol\hoeUe aa location, overwriting what Chrome put therein. Then fire up Chrome and verify all your settings, bookmarks, extensions, etc., are working. This has the disadvantages of (a) if you pull your data drive, poof! Chrome wont work, and possibly (b) itll likely not work for multiple users with different profiles, since you specified in the registry that all instances of Chrome, by Windows Policy, will have Chrome User Data hard-wired to a specific drive and folder. As above, if you have multiple users, youll need to put the keys and value you added in HKEY_CURRENT_USER also in the HKEY_USERS trees for the other users SIDs. As for now, I have set (and recommend) just putting the DiskCacheDir in the registry, and keeping the rest of the user profile stuff with Chrome, on the SSD.
c r m . x - d s - a h - i = : C r m - s r. hoeee -ikccedrH\hoeUe
This method has the disadvantage of only working when you start it with that icon. Instances started by a default browser operation (like, clicking a link in an email) will not get the switch, unless several instances are edited in the registry to include the switch. So youre better off just using #1 above, and making the change global. Re: http://www.chromium.org/user-experience/user-data-directory
04/12/12
2. Download and install GoogleChromePortable to the hard drive, from PortableApps.com. Dont run it yet. 3. Look in the H \ o t b e p s G o l C r m P r a l \ folder for h l . t l :PralAp\ogehoeotbe ephm and read it. Migrate your existing profile, as it says. 4. Copy
6. Now run GoogleChromePortable.exe (double-click it) and look in your C\sr\oruenm\pDt\oa\ep : U e s y u - s r a e A p a a L c l T m \ and verify that no GoogleChromePortable folder exists therein. Also, make sure your profile and settings stuff in GoogleChromePortable are all as expected (homepage, bookmarks, extensions, etc). 7. Now you can completely uninstall Chrome from the SSD, using Control Panel. Your default browser will revert to Internet Explorer, but well fix that later. 8. To make a handy icon, go to \PortableApps\GoogleChromePortable\, rightclick GoogleChromePortable.exe, Send to Desktop (create shortcut), then you can use it there or drag it into the menu system or pin it to the taskbar, as desired. 9. To set it as your default browser is a little more complicated. If you make GoogleChromePortable your default browser, Chrome will use the wrong path in several places in the registry, and it simply wont work. In that case, you need to edit the registry. Be careful, and make a restore point first, if you are new to registry editing. a. Run GoogleChromePortable and if it asks to make it your default browser, do so, else click the wrench, Settings, and make it default there. b. It will write registry entries, but they will be wrong. The entries need to point to GoogleChromePortable.exe, not \App\Chromebin\chrome.exe. c. Run and regedit and change Find it (in Data)
H\otbepsGolCrmPral\p\hoebncrm.x :PralAp\ogehoeotbeApCrm-i\hoeee
to H \ o t b e p s G o l C r m P r a l \ o g e h o e o t b e e e in :PralAp\ogehoeotbeGolCrmPral.x about 11 places.
6/8
04/12/12
Most of those keys will have - " 1 after the exe, dont remove - %" it. The ones to change will look like:
04/12/12
9. Now Ok all that and then do the other one. 10. Now Google will check for updates once per week, not once per hour! 11. When it does do an update, youll have to fix this again. 12. If you turn updating completely off, you can make it check for updates manually by clicking the Wrench, then About Google Chrome.
Other Things
For a list of command line switches, see Chrome Switches. Interesting switches to try: --disk-cache-dir Use a specific disk cache location, rather than one derived from the UserDatadir. --disk-cache-size Forces the maximum disk space to be used by the disk cache, in bytes. --media-cache-size Forces the maximum disk space to be used by the media cache, in bytes. --disable-application-cache Disable the Application Cache. --parent-profile Specifies the path to the user data folder for the parent profile (whatever that is).
Please do not write and ask me how to ______. If its not on this page, I donno! Please do write if you have additional, verifiable, tested info for this page! Please say Thanks! by sending all your friends here and linking to my pages! KV5R Sitemap
KV5R is disabled. Please help.
8/8