Beyond Verses

My blog that specializes in Space Science and latest news from NASA

Saturday, December 22, 2012

Change Google's Search Domain in Google Chrome


To explain the problem a little bit, it happens when you try to search from the address bar in Google Chrome, Chrome redirects you from google.com to google.com.eg (google.fr, ...). And it is the localization feature presented form Google Chrome.
But it will become like HELL when you try to change this localization setting, or when you travel to another country. you can try change search engine form chrome setting, but Na  that wont work out because the address bar (omnibox) URL depends on {google:baseURL}.

I figured that out after a lot of investigation in my Chrome installation directory and pain in my head!!!, as I couldn't find any workable solution by googling the problem, so I prefer to share it :)

You better do the following:
How to fix:
  1. Open "C:\Users{your_user_account}\AppData\Local\Google\Chrome\User Data" folder.
  2. Open "Local State" file.
  3. Add/Edit these in the node "browser":
    "last_known_google_url": "https://www.google.com/", "last_prompted_google_url": "https://www.google.com/",
  4. Open "Default/Preferences" file.
  5. Add/Edit these in the node "browser":
    "last_known_google_url": "https://www.google.com/", "last_prompted_google_url": "https://www.google.com/", 
How node "browser" looks like:
 },
 "browser": {
   //your code here

This is My Original Topic. you can spread the word :D 
Thanks for reading.