On Aug 14th 11 PM ET/Aug 15th 03:00 UTC, due to scheduled Firefox Account server maintenance, users may not be able to sign in or create a new subscription. This is expected to last approximately 30 minutes. Status updates can be found at https://status.vpn.mozilla.org or https://status.relay.firefox.com.

Search Support

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

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

Adding page title to the URL bar via userChrome.js

  • 1 baphendule
  • 1 inale nkinga
  • 6 views
  • Igcine ukuphendulwa ngu cor-el

more options

Hi,

Back in the old days of classic extensions, they had access to FF's GUI elements, provided such privileges were asked in a manifest file.

For example, there were extensions that added tab's title to the URL bar. And I want to do exactly that nowadays, too.

WebExtensions can not do that but this should work with userChrome.js, right?

If so, maybe someone has already done it and I simply could not find it. Does anybody know?

If not, then how do I access the URL bar object to add text (e.g. page's title) to it or something else?

Thanks in advance.

Hi, Back in the old days of classic extensions, they had access to FF's GUI elements, provided such privileges were asked in a manifest file. For example, there were extensions that added tab's title to the URL bar. And I want to do exactly that nowadays, too. WebExtensions can not do that but this should work with userChrome.js, right? If so, maybe someone has already done it and I simply could not find it. Does anybody know? If not, then how do I access the URL bar object to add text (e.g. page's title) to it or something else? Thanks in advance.

All Replies (1)

more options

Maybe try to ask this at the mozillaZine forum or at Firefox subreddit forum to see if they have suggestions as I don't think there are a lot of users that make use of userChrome.js to modify the user interface or otherwise inject JavaScript.