user.js icon indicating copy to clipboard operation
user.js copied to clipboard

kaliostro2's special little topic on typing fast

Open kaliostro2 opened this issue 9 years ago • 7 comments

Ok. When using user_pref("browser.startup.page", 1); , there is one property that I do not like. When the browser just opened and I start entering the address in the address bar, it jumps to the search line under the logo. Is there any chance to disable this?

kaliostro2 avatar May 01 '17 17:05 kaliostro2

about:home I guess

earthlng avatar May 01 '17 17:05 earthlng

I open browser and start type addres and sometimes hapen this:

kaliostro2 avatar May 01 '17 19:05 kaliostro2

Hmmm... looks like, when you open a FF, you are too fast. FF starts to open its default home page... you start to type in, but before you finish typing, the default page loading is finished and JS event on page loaded set focus to text box on the page.

crssi avatar May 01 '17 20:05 crssi

Yes. Precisely. That's my problem.

kaliostro2 avatar May 01 '17 20:05 kaliostro2

What, there is no solution to this problem?

kaliostro2 avatar May 02 '17 08:05 kaliostro2

This extension (WebExtensions API compatible) might be of some use: https://addons.mozilla.org/firefox/addon/custom-new-tabs/ It allows the focus to be set for new tabs. Not sure how it works for the startup tab.

Gitoffthelawn avatar May 02 '17 09:05 Gitoffthelawn

What, there is no solution to this problem?

easiest way to solve this is to set about:blank as your homepage with browser.startup.page;0 What's so great about about:home anyway?

earthlng avatar May 02 '17 12:05 earthlng