Tap here to go to the mobile version of the site.
Your Firefox is out of date and may contain a security risk! Upgrade Firefox

Support Forum

How do I stop the cursor focus from changing to the address bar when google.com loads in a new tab?


The question pretty much says it. Since I went from 3.6 to 4 RC1, cursor focus goes to the address bar instead of staying/going in the search field when google.com loads in new tabs.

Chosen solution

If your using the 'New Tab Homepage' extension then this happens when you upgrade to Firefox 4. Uninstall the official 0.4.3 extension and install the one below for a quick hack. All it does is remove the following section from the code which focuses the cursor on the urlbar.

     if (gURLBar)
       setTimeout(function() { 
         // if page is about:blank select() works just like focus, two birds one stone
       }, 0);


(download and drag into firefox to install)

really this should be a preference as part of the extension to allow the user to choose the focus.

Read this answer in context 154

Additional System Details

This happened

Every time Firefox opened

This started when...

I "upgraded" from release to RC1

Installed Plug-ins

  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • Winamp Application Detector
  • The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
  • Google Update
  • Shockwave Flash 10.2 r152
  • Adobe Shockwave for Director Netscape plug-in, version
  • iTunes Detector Plug-in
  • GEPlugin
  • Next Generation Java Plug-in 1.6.0_22 for Mozilla browsers
  • 4.0.50917.0
  • NVIDIA 3D Vision plugin for Mozilla browsers
  • NVIDIA 3D Vision Streaming plugin for Mozilla browsers
  • Version 1.1.7, copyright 1996-2011 The VideoLAN Teamhttp://www.videolan.org/


  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0) Gecko/20100101 Firefox/4.0

More Information

bamashooter 0 solutions 1 answers

Thanks tabmaster. You're solution worked in my current 9.0.1 version.

ericepp 0 solutions 1 answers

I found a nifty solution that addresses more than one need. I realized a few days ago, that you can hold the Ctrl button down while clicking a link to open it in a new Tab. Many people are probably already privy to this tasty information. Unfortunately, I usually stumble upon these things 'in the dark' by accident. I had a notion to try doing this with the Home Page Button to see what happens. Voila, it opened a home page in a new tab, and the cursor is not in the address bar; it is in the search query -where it should be. Try it, you'll like it.

  • Top 10 Contributor
  • Moderator
10743 solutions 96657 answers

You can also middle-click a link with the mouse scroll wheel to open the link in a new tab.
That also works with the Home button and some context menu entries like "View Image".

jeffoz1 0 solutions 3 answers

Just stumbled on the original solution for this problem. Lovely Justme54s and very elegant and easy. Thanks

zibo 0 solutions 5 answers

The addon "Custom New Tab" Version 1.6.1 fixes this problem for FF13:


This will set the focus to the search box and not to the addressbar.