Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[customize-titlebar] conditional labels #113

Open
roytam1 opened this issue Jan 18, 2013 · 3 comments
Open

[customize-titlebar] conditional labels #113

roytam1 opened this issue Jan 18, 2013 · 3 comments

Comments

@roytam1
Copy link

roytam1 commented Jan 18, 2013

I think it will be nice to have a foobar2000 $if() label so that people can show page URL if page title is blank, or not showing separator if page title is blank.

for now I can just hack browser.js and change tabTitle() to:

  return tabbrowser.mCurrentBrowser.contentTitle ? tabbrowser.mCurrentBrowser.contentTitle : tabbrowser.mCurrentBrowser.contentDocument.location.href;
@xabolcs
Copy link
Collaborator

xabolcs commented Jan 21, 2013

You are right, it would be nice if NTT could have some conditional logic.
I already filed #34, a conditional dash: it's displayed if previous token is not blank and hidden if token is blank.

Of course a more robust IF conditional would be more fantastic! :)

@ria-19
Copy link

ria-19 commented Oct 27, 2021

Is this still open?

@whimboo
Copy link
Contributor

whimboo commented Nov 3, 2021

Yes it is. Due to time constraints nightlytt is basically unmaintained at the moment. But we are happy to accept patches in case someone is interested to help out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants