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?
about:home I guess
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.
Yes. Precisely. That's my problem.
What, there is no solution to this problem?
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.
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?
Most helpful comment
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.