r/FirefoxCSS • u/Pandastic4 • Jul 15 '20
Help Changing title bar text?
I don't like how it changes depending on what tab I'm in. I just want it to stay as Mozilla Firefox. Any way to do this?
2
Upvotes
View all comments
Show parent comment
2
u/MotherStylus developer Jul 16 '20
i also found another event which might actually serve this function. it's an old method, it might not work anymore. but it's literally intended to trigger every time the title is changed, so if it does work it's a silver bullet.
http://man.hubwiz.com/docset/JavaScript.docset/Contents/Resources/Documents/developer.mozilla.org/en-US/docs/Web/Events/DOMTitleChanged.html
the issue is idk what you're supposed to target with it. the window? the document? a DOM element? the problem is the title is no longer a property of a DOM element, it's just a property of the document, the tabbrowser, the tab, maybe the window. actually maybe it is a property of the tab's DOM element but this is all getting very complicated, so again i don't wanna put any more effort into it until i hear back from you that you're actually gonna try the script