Treestyletab: [feature request] TST sidebar/window title

Created on 3 Oct 2020  路  3Comments  路  Source: piroor/treestyletab

Description

This feature request is in relation to https://github.com/Lej77/tree-style-tab-in-separate-window/issues/9

I try to summarize this post: https://github.com/Lej77/tree-style-tab-in-separate-window/issues/9#issuecomment-702959783

The linked extension breaks out the TST view into a separate window. Currently this window is titled "Mozilla Firefox" instead of something specific to TST (to distinguish it from a regular FF window). This can be set by titlePreface, but if set by multiple extensions, they conflict.

The author of that extension, @Lej77, suggested another solution: Let the sidebar title be changed by something like this: ext+treestyletab:tabbar?windowId=3&title=Sidebar. However, this would require TST support.

I quote the last paragraph of the above linked post for a more detailed description:

Another approach would be to change the sidebar tab's title. I don't think it is possible to inject javascript into extension pages so this would probably require that a tiny bit of code is added to Tree Style Tab. This shouldn't be a problem however since code to support this extension has been added before. Currently this extension opens the Tree Style Tab's sidebar page by opening the URL ext+treestyletab:tabbar?windowId=3, I'm thinking that we could just open the URL ext+treestyletab:tabbar?windowId=3&title=Sidebar instead and then Tree Style Tab would read the URL and set the title. I can't think of any disadvantages for this second approach so it is the one I would prefer to implement.

fixed

Most helpful comment

@piroor Thanks! I have released version 5.2 of my Tree Style Tab in Separate Window extension with support for the new URL parameter. I tested it with a development build of Tree Style Tab and everything seems to work!

All 3 comments

OK, I've added a new URL parameter title. TST now respects it as the window title. @Lej77 Could you use the parameter?

@piroor Thanks! I have released version 5.2 of my Tree Style Tab in Separate Window extension with support for the new URL parameter. I tested it with a development build of Tree Style Tab and everything seems to work!

@piroor @Lej77 Sorry for pinging you both, but: Thanks for making my everyday browsing life better!

This is working for me, so I close.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

manebule picture manebule  路  4Comments

emceekain picture emceekain  路  3Comments

Keith94 picture Keith94  路  3Comments

viking2 picture viking2  路  3Comments

mikeaustin picture mikeaustin  路  3Comments