X
Tap here to go to the mobile version of the site.

Support Forum

Why is localized Firefox versions still hardcoded to Google.com?

Posted

Scenario: using the default Google search from the address bar sends the query to Google.com instead of the user's localized Google.

This is a problem because the tools menu on Google.com does not include the country selector which allows a user to display local only results. For anyone, which is pretty much anyone outside of the US, this is an extremely useful feature for using Google and filtering results.

Currently the only solution I have found to fix this problem is to edit the google.xml file inside omni.ja file by changing the following line:

<Url type="text/html" method="GET" template="https://www.google.com/search" rel="searchform">

to:

<Url type="text/html" method="GET" template="https://www.google.co.za/search" rel="searchform">

However, this solution is less than ideal because because I will have to re-apply the change every time Firefox replaces omni.ja when it updates to a newer version. I have tried using addons to fix this problem, but I had issues in that either suggestions didn't work or the results defaulted to local results only.

Every other browser under the sun correctly redirects search terms to the country specific Google, so it would be great if Mozilla could join the party and fix an issue that has been plaguing Firefox for as long as I can remember.

Scenario: using the default Google search from the address bar sends the query to Google.com instead of the user's localized Google. This is a problem because the tools menu on Google.com does not include the country selector which allows a user to display local only results. For anyone, which is pretty much anyone outside of the US, this is an extremely useful feature for using Google and filtering results. Currently the only solution I have found to fix this problem is to edit the google.xml file inside omni.ja file by changing the following line: <Url type="text/html" method="GET" template="https://www.google.com/search" rel="searchform"> to: <Url type="text/html" method="GET" template="https://www.google.co.za/search" rel="searchform"> However, this solution is less than ideal because because I will have to re-apply the change every time Firefox replaces omni.ja when it updates to a newer version. I have tried using addons to fix this problem, but I had issues in that either suggestions didn't work or the results defaulted to local results only. Every other browser under the sun correctly redirects search terms to the country specific Google, so it would be great if Mozilla could join the party and fix an issue that has been plaguing Firefox for as long as I can remember.
Attached screenshots

Additional System Details

Installed Plug-ins

  • Shockwave Flash 31.0 r0

Application

  • Firefox 62.0.2
  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0
  • Support URL: https://support.mozilla.org/1/firefox/62.0.2/WINNT/en-ZA/

Extensions

  • Adblock Plus 3.3.1 ({d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d})
  • Automatic Unit Converter 1.3 ({47a3bbae-80f8-4098-97ff-4a27d98c10bd})
  • Dark Reader 4.6.8 (addon@darkreader.org)
  • Facebook Container 1.3.1 (@contain-facebook)
  • Firefox Multi-Account Containers 6.0.0 (@testpilot-containers)
  • Google Translator for Firefox 3.0.3.1 (translator@zoli.bod)
  • Image Search Options 3.0.8 ({4a313247-8330-4a81-948e-b79936516f78})
  • Imagus 0.9.8.65 ({00000f2a-7cde-4f20-83ed-434fcb420d71})
  • LastPass: Free Password Manager 4.17.1.7 (support@lastpass.com)
  • NoMiner - Block Coin Miners 0.1.1 ({74b0af75-8791-44e2-95a6-7f0ab94143ec})
  • pinterest-guest 2.0 (jid1-SWdspnBEetWxoA@jetpack)
  • Pure URL 1.3.0a (pure-url@jetpack)
  • Reddit Enhancement Suite 5.12.6 (jid1-xUfzOsOFlzSOXg@jetpack)
  • SCs Currency Converter 1.2.1 (scscurrencyconverter@sarics)
  • Search by Image 1.18.0 ({2e5ff8c8-32fe-46d0-9fc8-6b8986621f3c})
  • SoundCloud Control 0.6.0 ({ecd8bf54-1dea-4415-9b5e-c9452d1255fe})
  • Soundcloud Quality Restore 1.0.1 ({01dd2f4b-c045-42a3-9e63-e169f012067f})
  • To Google Translate 3.3 (jid1-93WyvpgvxzGATw@jetpack)
  • uBlock Origin 1.17.0 (uBlock0@raymondhill.net)
  • Popup blocker for FF: Poper Blocker 4.0.7.7 ({bee8b1f2-823a-424c-959c-f8f76c8b2306}) (Inactive)
  • YouTube Classic 1.2 ({6acd0f4d-ab79-4b79-9b28-8bde65ae355c}) (Inactive)

Javascript

  • incrementalGCEnabled: True

Graphics

  • adapterDescription: Intel(R) UHD Graphics 630
  • adapterDescription2: NVIDIA GeForce GTX 1070
  • adapterDeviceID: 0x3e9b
  • adapterDeviceID2: 0x1ba1
  • adapterDrivers: igdumdim64 igd10iumd64 igd10iumd64 igd12umd64 igdumdim32 igd10iumd32 igd10iumd32 igd12umd32
  • adapterDrivers2: C:\Windows\System32\DriverStore\FileRepository\nvmii.inf_amd64_76bb9a50a59f3335\nvldumdx.dll,C:\Windows\System32\DriverStore\FileRepository\nvmii.inf_amd64_76bb9a50a59f3335\nvldumdx.dll,C:\Windows\System32\DriverStore\FileRepository\nvmii.inf_amd64_76bb9a50a59f3335\nvldumdx.dll,C:\Windows\System32\DriverStore\FileRepository\nvmii.inf_amd64_76bb9a50a59f3335\nvldumdx.dll C:\Windows\System32\DriverStore\FileRepository\nvmii.inf_amd64_76bb9a50a59f3335\nvldumd.dll,C:\Windows\System32\DriverStore\FileRepository\nvmii.inf_amd64_76bb9a50a59f3335\nvldumd.dll,C:\Windows\System32\DriverStore\FileRepository\nvmii.inf_amd64_76bb9a50a59f3335\nvldumd.dll,C:\Windows\System32\DriverStore\FileRepository\nvmii.inf_amd64_76bb9a50a59f3335\nvldumd.dll
  • adapterRAM: Unknown
  • adapterRAM2: 8192
  • adapterSubsysID: 12151462
  • adapterSubsysID2: 12151462
  • adapterVendorID: 0x8086
  • adapterVendorID2: 0x10de
  • contentUsesTiling: False
  • crashGuards: []
  • direct2DEnabled: True
  • directWriteEnabled: True
  • directWriteVersion: 10.0.17134.1
  • driverDate: 6-18-2018
  • driverDate2: 9-5-2018
  • driverVersion: 24.20.100.6169
  • driverVersion2: 24.21.13.9924
  • featureLog: {u'fallbacks': [], u'features': [{u'status': u'available', u'description': u'Compositing', u'log': [{u'status': u'available', u'type': u'default'}], u'name': u'HW_COMPOSITING'}, {u'status': u'available', u'description': u'Direct3D11 Compositing', u'log': [{u'status': u'available', u'type': u'default'}], u'name': u'D3D11_COMPOSITING'}, {u'status': u'available', u'description': u'Direct2D', u'log': [{u'status': u'available', u'type': u'default'}], u'name': u'DIRECT2D'}, {u'status': u'available', u'description': u'Direct3D11 hardware ANGLE', u'log': [{u'status': u'available', u'type': u'default'}], u'name': u'D3D11_HW_ANGLE'}, {u'status': u'available', u'description': u'GPU Process', u'log': [{u'status': u'available', u'type': u'default'}], u'name': u'GPU_PROCESS'}, {u'status': u'opt-in', u'description': u'WebRender', u'log': [{u'status': u'opt-in', u'message': u'WebRender is an opt-in feature', u'type': u'default'}], u'name': u'WEBRENDER'}, {u'status': u'available', u'description': u'Off Main Thread Painting', u'log': [{u'status': u'available', u'type': u'default'}], u'name': u'OMTP'}, {u'status': u'available', u'description': u'Advanced Layers', u'log': [{u'status': u'available', u'type': u'default'}], u'name': u'ADVANCED_LAYERS'}]}
  • info: {u'AzureContentBackend (UI Process)': u'skia', u'AzureCanvasBackend (UI Process)': u'skia', u'ApzWheelInput': 1, u'ApzDragInput': 1, u'ApzKeyboardInput': 1, u'AzureFallbackCanvasBackend (UI Process)': u'cairo', u'ApzAutoscrollInput': 1, u'AzureCanvasAccelerated': 0, u'AzureCanvasBackend': u'direct2d 1.1', u'AzureContentBackend': u'direct2d 1.1'}
  • isGPU2Active: False
  • numAcceleratedWindows: 1
  • numTotalWindows: 1
  • offMainThreadPaintEnabled: True
  • offMainThreadPaintWorkerCount: 4
  • usesTiling: False
  • webgl1DriverExtensions: GL_ANGLE_client_arrays GL_ANGLE_depth_texture GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_lossy_etc_decode GL_ANGLE_pack_reverse_row_order GL_ANGLE_program_cache_control GL_ANGLE_request_extension GL_ANGLE_robust_client_memory GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ANGLE_texture_usage GL_ANGLE_translated_shader_source GL_CHROMIUM_bind_generates_resource GL_CHROMIUM_bind_uniform_location GL_CHROMIUM_color_buffer_float_rgb GL_CHROMIUM_color_buffer_float_rgba GL_CHROMIUM_copy_compressed_texture GL_CHROMIUM_copy_texture GL_CHROMIUM_sync_query GL_EXT_blend_minmax GL_EXT_color_buffer_half_float GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_disjoint_timer_query GL_EXT_draw_buffers GL_EXT_frag_depth GL_EXT_map_buffer_range GL_EXT_occlusion_query_boolean GL_EXT_read_format_bgra GL_EXT_robustness GL_EXT_sRGB GL_EXT_shader_texture_lod GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc_srgb GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg GL_EXT_texture_storage GL_EXT_unpack_subimage GL_KHR_debug GL_NV_EGL_stream_consumer_external GL_NV_fence GL_NV_pack_subimage GL_NV_pixel_buffer_object GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth32 GL_OES_element_index_uint GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_array_object
  • webgl1Extensions: ANGLE_instanced_arrays EXT_blend_minmax EXT_color_buffer_half_float EXT_frag_depth EXT_sRGB EXT_shader_texture_lod EXT_texture_filter_anisotropic EXT_disjoint_timer_query OES_element_index_uint OES_standard_derivatives OES_texture_float OES_texture_float_linear OES_texture_half_float OES_texture_half_float_linear OES_vertex_array_object WEBGL_color_buffer_float WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_depth_texture WEBGL_draw_buffers WEBGL_lose_context
  • webgl1Renderer: Google Inc. -- ANGLE (Intel(R) UHD Graphics 630 Direct3D11 vs_5_0 ps_5_0)
  • webgl1Version: OpenGL ES 2.0 (ANGLE 2.1.0.595ccab4acc3)
  • webgl1WSIInfo: EGL_VENDOR: Google Inc. (adapter LUID: 0000000000013af7) EGL_VERSION: 1.4 (ANGLE 2.1.0.595ccab4acc3) EGL_EXTENSIONS: EGL_EXT_create_context_robustness EGL_ANGLE_d3d_share_handle_client_buffer EGL_ANGLE_d3d_texture_client_buffer EGL_ANGLE_surface_d3d_texture_2d_share_handle EGL_ANGLE_query_surface_pointer EGL_ANGLE_window_fixed_size EGL_ANGLE_keyed_mutex EGL_ANGLE_surface_orientation EGL_ANGLE_direct_composition EGL_NV_post_sub_buffer EGL_KHR_create_context EGL_EXT_device_query EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_get_all_proc_addresses EGL_KHR_stream EGL_KHR_stream_consumer_gltexture EGL_NV_stream_consumer_gltexture_yuv EGL_ANGLE_flexible_surface_compatibility EGL_ANGLE_stream_producer_d3d_texture EGL_ANGLE_create_context_webgl_compatibility EGL_CHROMIUM_create_context_bind_generates_resource EGL_CHROMIUM_sync_control EGL_EXT_pixel_format_float EGL_KHR_surfaceless_context EGL_ANGLE_display_texture_share_group EGL_ANGLE_create_context_client_arrays EGL_ANGLE_program_cache_control EGL_ANGLE_robust_resource_initialization EGL_ANGLE_create_context_extensions_enabled EGL_EXTENSIONS(nullptr): EGL_EXT_client_extensions EGL_EXT_platform_base EGL_EXT_platform_device EGL_ANGLE_platform_angle EGL_ANGLE_platform_angle_d3d EGL_ANGLE_device_creation EGL_ANGLE_device_creation_d3d11 EGL_ANGLE_experimental_present_path EGL_KHR_client_get_all_proc_addresses
  • webgl2DriverExtensions: GL_ANGLE_client_arrays GL_ANGLE_depth_texture GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_lossy_etc_decode GL_ANGLE_multiview GL_ANGLE_pack_reverse_row_order GL_ANGLE_program_cache_control GL_ANGLE_request_extension GL_ANGLE_robust_client_memory GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ANGLE_texture_usage GL_ANGLE_translated_shader_source GL_CHROMIUM_bind_generates_resource GL_CHROMIUM_bind_uniform_location GL_CHROMIUM_color_buffer_float_rgb GL_CHROMIUM_color_buffer_float_rgba GL_CHROMIUM_copy_compressed_texture GL_CHROMIUM_copy_texture GL_CHROMIUM_sync_query GL_EXT_blend_minmax GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_disjoint_timer_query GL_EXT_draw_buffers GL_EXT_frag_depth GL_EXT_map_buffer_range GL_EXT_occlusion_query_boolean GL_EXT_read_format_bgra GL_EXT_robustness GL_EXT_sRGB GL_EXT_shader_texture_lod GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc_srgb GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_norm16 GL_EXT_texture_rg GL_EXT_texture_storage GL_EXT_unpack_subimage GL_KHR_debug GL_NV_EGL_stream_consumer_external GL_NV_fence GL_NV_pack_subimage GL_NV_pixel_buffer_object GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth32 GL_OES_element_index_uint GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_array_object
  • webgl2Extensions: EXT_color_buffer_float EXT_texture_filter_anisotropic EXT_disjoint_timer_query OES_texture_float_linear WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_lose_context
  • webgl2Renderer: Google Inc. -- ANGLE (Intel(R) UHD Graphics 630 Direct3D11 vs_5_0 ps_5_0)
  • webgl2Version: OpenGL ES 3.0 (ANGLE 2.1.0.595ccab4acc3)
  • webgl2WSIInfo: EGL_VENDOR: Google Inc. (adapter LUID: 0000000000013af7) EGL_VERSION: 1.4 (ANGLE 2.1.0.595ccab4acc3) EGL_EXTENSIONS: EGL_EXT_create_context_robustness EGL_ANGLE_d3d_share_handle_client_buffer EGL_ANGLE_d3d_texture_client_buffer EGL_ANGLE_surface_d3d_texture_2d_share_handle EGL_ANGLE_query_surface_pointer EGL_ANGLE_window_fixed_size EGL_ANGLE_keyed_mutex EGL_ANGLE_surface_orientation EGL_ANGLE_direct_composition EGL_NV_post_sub_buffer EGL_KHR_create_context EGL_EXT_device_query EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_get_all_proc_addresses EGL_KHR_stream EGL_KHR_stream_consumer_gltexture EGL_NV_stream_consumer_gltexture_yuv EGL_ANGLE_flexible_surface_compatibility EGL_ANGLE_stream_producer_d3d_texture EGL_ANGLE_create_context_webgl_compatibility EGL_CHROMIUM_create_context_bind_generates_resource EGL_CHROMIUM_sync_control EGL_EXT_pixel_format_float EGL_KHR_surfaceless_context EGL_ANGLE_display_texture_share_group EGL_ANGLE_create_context_client_arrays EGL_ANGLE_program_cache_control EGL_ANGLE_robust_resource_initialization EGL_ANGLE_create_context_extensions_enabled EGL_EXTENSIONS(nullptr): EGL_EXT_client_extensions EGL_EXT_platform_base EGL_EXT_platform_device EGL_ANGLE_platform_angle EGL_ANGLE_platform_angle_d3d EGL_ANGLE_device_creation EGL_ANGLE_device_creation_d3d11 EGL_ANGLE_experimental_present_path EGL_KHR_client_get_all_proc_addresses
  • windowLayerManagerRemote: True
  • windowLayerManagerType: Direct3D 11
  • windowUsingAdvancedLayers: True

Modified Preferences

Misc

  • User JS: No
  • Accessibility: No
McCoy
  • Top 10 Contributor
497 solutions 4572 answers

Hello Xiphan,

Would you go here please :

https://www.google.com/preferences?hl=en&fg=1

Scroll down to "Region Settings" and click your region.

Then click "Save" at the bottom of the page.

Does that work for you  ?

Hello Xiphan, Would you go here please : https://www.google.com/preferences?hl=en&fg=1 Scroll down to "Region Settings" and click your region. Then click "Save" at the bottom of the page. Does that work for you ?

Question owner

McCoy said

Hello Xiphan, Would you go here please : https://www.google.com/preferences?hl=en&fg=1 Scroll down to "Region Settings" and click your region. Then click "Save" at the bottom of the page. Does that work for you  ?

No, this doesn't work. It still defaults to google.com.

''McCoy [[#answer-1159350|said]]'' <blockquote> Hello Xiphan, Would you go here please : https://www.google.com/preferences?hl=en&fg=1 Scroll down to "Region Settings" and click your region. Then click "Save" at the bottom of the page. Does that work for you ? </blockquote> No, this doesn't work. It still defaults to google.com.
McCoy
  • Top 10 Contributor
497 solutions 4572 answers

Would you try this please :

When you're on the Google page, click on the 'i' in a circle, next to the padlock at the left side of the address bar. That will take you to "Page Info". Then click on the little black arrow on the dropdown and then on "More Information". Click on the 'Permissions" tab and scroll down to "Access Your Location". Uncheck "Use Default" and check "Allow".

'Hope that works .....

Would you try this please : When you're on the Google page, click on the 'i' in a circle, next to the padlock at the left side of the address bar. That will take you to "Page Info". Then click on the little black arrow on the dropdown and then on "More Information". Click on the 'Permissions" tab and scroll down to "Access Your Location". Uncheck "Use Default" and check "Allow". 'Hope that works .....

Question owner

McCoy said

Would you try this please : When you're on the Google page, click on the 'i' in a circle, next to the padlock at the left side of the address bar. That will take you to "Page Info". Then click on the little black arrow on the dropdown and then on "More Information". Click on the 'Permissions" tab and scroll down to "Access Your Location". Uncheck "Use Default" and check "Allow". 'Hope that works .....

No, there is nothing you can change in or around Google that will get it to use something other than google.com because the default built-in Google search is hardcoded in the omni.ja file to send search queries to google.com.

As I have said I managed a workaround for this issue by modifying the omni.ja file, but it would be nice if Mozilla could correctly use the right Google search for the corresponding country their browser is being used in.

''McCoy [[#answer-1162905|said]]'' <blockquote> Would you try this please : When you're on the Google page, click on the 'i' in a circle, next to the padlock at the left side of the address bar. That will take you to "Page Info". Then click on the little black arrow on the dropdown and then on "More Information". Click on the 'Permissions" tab and scroll down to "Access Your Location". Uncheck "Use Default" and check "Allow". 'Hope that works ..... </blockquote> No, there is nothing you can change in or around Google that will get it to use something other than google.com because the default built-in Google search is hardcoded in the omni.ja file to send search queries to google.com. As I have said I managed a workaround for this issue by modifying the omni.ja file, but it would be nice if Mozilla could correctly use the right Google search for the corresponding country their browser is being used in.
McCoy
  • Top 10 Contributor
497 solutions 4572 answers

Xiphan said

Every other browser under the sun correctly redirects search terms to the country specific Google,

With the settings, mentioned in my previous posts, I get the correct search results in three different browsers, including Firefox - I'm beginning to think that I'm totally misconstruing what you're saying (in which case : my apologies).

Would this be an option for you :

https://mycroftproject.com/google-search-plugins.html  ?

''Xiphan [[#question-1235520|said]]'' <blockquote> Every other browser under the sun correctly redirects search terms to the country specific Google, </blockquote> With the settings, mentioned in my previous posts, I get the correct search results in three different browsers, including Firefox - I'm beginning to think that I'm totally misconstruing what you're saying (in which case : my apologies). Would this be an option for you : https://mycroftproject.com/google-search-plugins.html ?