সহায়তা খুঁজুন

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 25 উত্তরসমূহ
  • 633 এই সমস্যাটি আছে
  • 104 দেখুন
  • শেষ জবাব দ্বারা zibo

more options

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.

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.

সমাধান চয়ন করুন

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
         gURLBar.select();
       }, 0);

http://www.mediafire.com/?v1113g9noytswdv

(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.

প্রেক্ষাপটে এই উত্তরটি পড়ুন। 👍 154

All Replies (20)

more options

চয়ন করা সমাধান

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
         gURLBar.select();
       }, 0);

http://www.mediafire.com/?v1113g9noytswdv

(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.

justme54s দ্বারা পরিমিত

more options

Worked like a charm. I assumed it was as simple as changing a section of code or a variable, but I figured it would have been something with the browser and not the addon.

Thanks!

more options

Sorry for this absolute novice question but how exactly do i install this download?

I uninstalled 0.4.3 as stated and then tried to drag the files into an open firefox window but to no avail!

Thanks in advance

more options

@ytrewq123 : Are you sure you dragged the downloaded file 'newTabHome_0.4.3_hacked.xpi' into any open firefox window? You should get an install addon window. Alternatively open the file by using the File>Open file from the menu (if you can't see your file menu the press alt to bring it up).

justme54s দ্বারা পরিমিত

more options

Thanks for this fix!! Hopefully it can be added to the official plugin, so I don't have to look for updates etc.

more options

Brilliantly simply, thanks!!

more options

Works a charm, thanks...

more options

AHHHHHH :)

more options

I had the same problem when I updated to firefox 4. This is how i fixed it:

The problem seems to be caused by the 'New Tab Homepage' add on. So:


  1. Disable or remove the 'New Tab Homepage' add on and restart firefox.
  2. Download and install the firefox add on called 'NewTabURL' and restart firefox.
  3. Click on the Options button for NewTabURL and uncheck 'Select location bar after loading new tab'
  4. Under the 'Default URL for new tabs' heading, choose 'Home Page'
  5. Click on the Save button.

Hopefully, problem solved!

tabmaster দ্বারা পরিমিত

more options

justme54s - Thanks for posting this solution. Works great! (FF4.0.1)

serutan দ্বারা পরিমিত

more options

justme54s, thank you for posting !

more options

Whether the cursor goes to the Search Box or to the Address Box when you open a new tab is based on which page your browser opens when you open a new tab. If your browser is set to open http://en-US.start3.mozilla.com/firefox?client=firefox-a&rls=org.mozilla:en-US:official when a new tab is opened, the cursor will automatically go to the Address Bar. If your browser is set to open http://www.google.com/firefox?client=firefox-a&rls=org.mozilla:en-US:official when a new tab is opened, the cursor will automatically go to the Search Box. So, it just depends on which webpage opens when you select a new tab! To select which webpage opens, just go to the "Tools" Menu and select "Options." Under the "General" tab, you will see a URL (a webpage) which will open when you open your Home Page. I suppose, technically, the webpage you select in "Tabs Mix Plus" to open when you open a new tab is the important one -- but, since most people simply use their Home Page as the page to open, the Home Page in the Firefox Options is relevant. You could change the webpage to open in Tabs Mix Plus to one of the two pages noted above to determine which option you want when you open a new tab -- to have the cursor in the Address Bar or to have the cursor in the Search Box.

more options

Thank you so much !!!!!!!!!!!!!!!! - it was so wrecking my head !!!

more options

Super easy - works perfectly! Thanks justme54s!

pariahjohn দ্বারা পরিমিত

more options

If you are using NewTabURL 2.2.3 there is a preference: "select location bar after loading the new tab". After un-checking this option, the focus is in the search box after loading Google in a new tab.

more options

Your fix worked perfectly on Firefox 8, as well! Thank you!

more options

I actually created an account on here, just so I can say years later in version 8.0 we still have this problem or I should say annoyance, yes the fix does work, but come on Mozilla you are moving backwards, you're becoming very Microsoft like, lol

more options

Works great with Firefox 8.0.1 Thanks for the solution.

more options

That's an absolute lifesaver. Thanks for posting the solution! This problem was driving me crazy.

more options

I have got a super easy solution to this. Get the Featured addon 'My Homepage' from - http://www.rockyourfirefox.com This addon addresses this issue well and deserves to be Featured.

  1. 1
  2. 2