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

Adding page title to the URL bar via userChrome.js

  • 1 reply
  • 1 has this problem
  • 1 view
  • Last reply by 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.