Овај сајт ће имати ограничену функционалност док га будемо ажурирали у циљу побољшања вашег искуства. Ако неки чланак не реши ваш проблем и желите да поставите питање, на располагању ће вам бити наше заједнице подршке @FirefoxSupport на Twitter-у и /r/firefox на Reddit-у.

Претражи подршку

Избегните преваре подршке. Никада од вас нећемо тражити да зовете или шаљете поруке на број или да делите личне податке. Пријавите сумњиве радње преко „Пријавите злоупотребу” опције.

Сазнај више

Removing text in address bar when opening a new tab.

  • 4 одговорa
  • 1 има овај проблем
  • 1 преглед
  • Последњи одговор послао tfwStarving

more options

Hi I have a custom home page that is hosted on my local machine, I did this by adding some code into userChrome.js however I cannot seem to find a way to remove the text from the address bar when i start up firefox for the first time or open a new tab. This is very annoying because I would prefer to immediatly start typing to search for things instead of having to ctrl-a the text and delete it. Is there anything I can add to userChrome.js or something similar to get this function to work properly?

I tried using extensions to do this but it seems they are unable to modify this data.

Hi I have a custom home page that is hosted on my local machine, I did this by adding some code into userChrome.js however I cannot seem to find a way to remove the text from the address bar when i start up firefox for the first time or open a new tab. This is very annoying because I would prefer to immediatly start typing to search for things instead of having to ctrl-a the text and delete it. Is there anything I can add to userChrome.js or something similar to get this function to work properly? I tried using extensions to do this but it seems they are unable to modify this data.

Сви одговори (4)

more options

What is the text that is appearing?

more options

"file:///home/%myname%/Home%20Page/index.html"

The link to the local file I use as my home page.

more options

That is to be expected when the NewTab page is changed from the default value whether the change was made via a userChrome.css code or via a WebExtension.

Sorry, I don't believe that can be changed to not show the userset NewTab page or showing Extension (extension name) when an extension is used to modify the NewTab page.

But with my using the NewTab Tools extension the cursor focus is in the URL Bar and just typing one character clears all but the character that I had typed so the URL is usable. So it's not like Firefox is broken in any manner by the mere showing of that "local page".

more options

Hmm for some reason the text is not highlighted automatically so typing does not clear the URL bar, is there something i need to do to make this happen?