Chrome: Any way to assign sticky window name

28

8

-- 2020 update -- This is a subquestion of a bigger problem I had throughout the years: how to efficiently manage many Chrome windows & tabs?. I'll post another separate question soon to try and adress this, and will link to it here.

--

Typically I use about 10 different browser windows (always on). I'd like to have a way to set "sticky" window names so that I can locate one I'm looking for quickly when switching (using keyboard shortcut or from the drop down window menu).

For example:

  • Dev documentation
  • Social sites
  • Google drive
  • Other stuff
  • Etc...

Because now, Chrome displays the current window title (of the given web page) which is obviously ever changing, depending on that window's currently active tab. I just found a "hack", a bookmarklet with which I can assign a custom name to the current tab. But then it breaks if I change the active tab in that window and forget to set it back. So I'd like a better solution (an extension I guess, but haven't found so far). Or perhaps some kind of visual hint (to customize that window's border color, etc), so in essence a way to customize the current window, although then that's perhaps less obvious than changing the title directly.

Here's some additional info, I switched back to windows and still trying to tailor that perfect browser experience ;-)

  • SSB = Single-Site Browser.

deryb

Posted 2015-04-30T16:04:04.107

Reputation: 513

Note that I'm a big fan of SSBs. For a while I used Fluid (on Mac) for many of frequents web apps, like Gmail, etc... But ever since I started using Chrome as my base web development browser, I'm starting to move more and more to Chrome. So another workaround would be for me to find a decent way to make Chrome based SSBs. But so far I haven't found any. I'm not a big fan of Safari so a safari based SSB maker like Fluid is a bit of a turn off, even though I love the idea. – deryb – 2015-04-30T19:35:40.527

Not a lot of help I know, but you can do this with Firefox ;) – Julian Knight – 2015-04-30T22:54:29.010

@JulianKnight Thanks, yea Firefox was my main browser before. But then it struck me how much better Chrome seemed to manage ressources. Often FF had 50+% CPU use, whereas with Chrome I can keep it under 10%, even with 10+ windows x 5-10 tabs each. Often, I just kill tabs which become too demanding, via its task manager. This closes the display of that page (and stops CPU use) but leaves the tab open, so I just need to refresh that tab to re-load it once I want to use it again. And the built-in dev tools are great (on FF I used Firebug, was ok). But overall, none's perfect ;-) – deryb – 2015-05-01T13:41:05.227

I think FF now manages memory better than the others but certainly not CPU. My own workflow involves simply killing FF from time-to-time with task manager. I use a session manager plugin to ensure all my windows/tabs come back. But then I typically have 10+windows each with 10+tabs!!! I keep trying Chrome & use it regularly on mobile devices but it doesn't feel as good as FF on the desktop. For dev I now use FF Dev separately so I don't need all the dev plugins in my main browser – Julian Knight – 2015-05-01T13:53:48.863

Hehe, used pretty much the same here (FF + session manager + kill the whole program). Only annoyance is that everything restarts afterward (all 10wins x 5-10 tabs, lol). I meant Chrome's built in task manager, which allows to stop one singular tab's process, or sometimes plugins like Flash, etc... From time to time I pull it up and kill tabs who eat too much! I have a similar tools as Session Manager on Chrome, not as good tho. And I just HATE the bookmarks manager ;-) – deryb – 2015-05-01T16:48:00.260

Ur, no, the tabs don't restart any more and haven't done for quite a while (I also used to use the plugin BarTab!) Only the visible tab for each window reloads and not even then if they were minimised before killing. – Julian Knight – 2015-05-01T16:49:40.643

What does SSB stand for? – matt – 2018-01-13T16:02:14.560

SSB = Single Site Browser. See my updated question. – deryb – 2018-02-14T16:19:03.720

Answers

2

Spaces, is chrome extension that lets one turn browser windows into manageable workspaces.

gdadsriver

Posted 2015-04-30T16:04:04.107

Reputation: 36

I just took a quick look and tried it. Close but all it does is assign a window name "behind the scenes", so then I need to access that master list first to know which is which then. My guess is there's no native way to do this, perhaps chrome does not expose any window naming / customizing features on a per window basis (rather than the whole bunch). Thanks anyway. – deryb – 2016-07-05T17:57:43.880

1@deryb Have you tried again (year of 2020). I just installed this extension and assigned a shortcut to the "switch spaces" feature and if all what you wanted was a quick way to distinguish the nature of your windows to quickly switch between them then this is what I use and I'm fast navigating now. Worth checking out – vdegenne – 2020-02-01T08:09:49.327

@vdegenne True, I just tried it and it seems to fit what I was looking for mostly. Most importantly, being able to switch quickly with just the keyboard (shortcut + quick search string) and being able to group windows (spaces) together, simply by giving them a common group string (ex. dev, social, shopping, fun, etc...). I still wish there was a more "built-in" way to do this (via API maybe / by allowing one to customize a window's look), but this is probably as close as it gets. – deryb – 2020-02-02T20:15:21.583

8

-- 2020 update --

This answer was mostly Mac related, I don't think it's much worth the trouble today (SSB or multiple independant browser instances / clones). There are simpler workarounds. Some ideas:

  • Having multiple Chrome profiles, with a Google account for each if you want to use the sync feature to sync tabs, extensions, bookmarks, history, settings, etc
  • Using extensions such as
    • Tab Manager Plus Perhaps the best interface so far and allows to name windows. Opens in its own floating popup, can be 100% controlled keyboard only, clearly organized & accessible UI.
    • Spaces. Mentioned by @gdadsriver. Quite simple but does the job mostly, allows to name windows (spaces) and switch tabs quickly.
    • Tabli search and switch to desired tabs.
    • Cluser is another one. Feature rich but UI is not ideal I find (opens in another tab).
  • SSBs perhaps have their place for developers, power users or special cases but mostly overkill for most.

Each have their pros, cons and perhaps deserve a better review than just this 'name dropping'. I'll try to do that when I get a chance, perhaps as a new question since this regroups a bunch of concerns together to improve the many windows & tabs management.

-- Addendum --

The solution I used to make chrome-based SSBs is called epichrome. On windows there must be equivalents for sure... I have about 5 different SSBs running all the time, along with chrome. Works great! On extension I added in the mix to most of my SSBs is Great Suspender, which automatically suspends tabs when inactive (customizable). So inactive SSBs' resources get freed even when I probably have 30-40 tabs open at all times permanently.

-- Later this year --

Ok I've found a way to make SSBs (single site browsers) with Chrome so I essentially now have a few apps for those "sticky" sites I use often (mail, maps, drive, etc). This allows them to behave like normal apps so I can give them a custom name, icon and can switch easily back and forth between opened windows. Not only that, it's possible to create some custom URL rules, for example always open all links starting with maps.google.com in Maps SSB, etc... Hence it's still a big hack overall, but it feels like the best solution. Still it becomes a bit more work then as each SSB essentially becomes another browser instance, with it's own favorites, extensions, etc. So it consumes a bit more resources I guess than when opened on one single browser, but that is a small drawback in the big picture...

-- Earlier this year --

Ok I've used Chrome for a few months now. I tried various workarounds for this. It seems you can't assign a sticky window name easily as I wanted, which would also change the window's name under the "window" menu list (right, next to help). So, two decent workarounds I found, either:

1) Create a bookmarklet with following code:

javascript:(function(){document.getElementsByTagName("head")[0].getElementsByTagName("title")[0].innerHTML=prompt("Enter new Title");})()

With this you can assign any name you want. Only drawbacks: this just temporarily replace the <title> html tag. So this will get replaced as soon as you reload the page or navigate elsewhere... What I did for a while was just create a placeholder simple html page with my own desired title.

2) Via An extension called tabs outilner. Great extension which allows to easily manage tabs and windows, assign sticky names to windows / tabs, even notes and separators, re-order things, etc. Although this info is only visible via the extension's manager window. But also, this extension is a great tool to manage endless sets of windows & tabs, kill them and later reload them. To keep resource usage low and have some kind of in-between workspace for things which you'll read later. Hence this almost sounds like a commercial, but anyway, try it for yourself. In the end, this is the best workaround for managing windows in Chrome I've found so far, and for this question...

deryb

Posted 2015-04-30T16:04:04.107

Reputation: 513

Can you share your solution for the Chrome SSB setup? – Brendan Moore – 2016-05-19T12:26:40.517

I added some info to my answer. – deryb – 2016-05-24T16:28:51.270

1For the record on Windows you can go to "More tools" -> "Add to desktop" to generate SSBs automatically. – Mahn – 2016-09-20T17:13:37.283

1@bookmarklet: Instead of manipulating the tag, it is easier to just set document.title. – kdb – 2019-09-22T09:59:13.953

4

Renaming tabs or giving windows names in some dedicated windows is completely different thing and doesn't match requested purpose. The whole idea is to have Chrome windows list always at hand.

While also failing to find a solution I've made up a little script for AutoHotKey real quick. It may be enhanced somehow mb, but now it does exactly what I wanted: renames Chrome windows.

Unfortunately, it doesn't save windows' names between sessions, but that's a small price. After I've satisfied the initial rush towards the feature, now I'm considering to make Chrome extension for it. Although I haven't ever used JS, it's not the main obstacle. It would be worse, if Chrome API does not give access to window's title, and i suspect it is so. As a workaround, I could change current tab's title to one, window must show in TaskBar, but this is gross (and no "save titles between sessions" feature still).

It's strange, that I came up with this idea just yesterday and not some years ago. It's hard to overrate, how big this small enhancement to the workflow is.

jungle_mole

Posted 2015-04-30T16:04:04.107

Reputation: 129

Not sure what you mean. The active tab's title in any opened window is the title chrome shows in its windows list (change to another tab and see it updated as a proof). – deryb – 2015-12-29T01:00:34.850

@brunod yes, it is so. but this script updates given window title once window loses focus. you know what window you are working in, but as soon as you switch to other window, title updates. – jungle_mole – 2015-12-29T01:15:03.007

@brunod and if you are talking about "freaky extension workaround" i mentioned, the principle behind it: user switches to tab - tab's title becomes user-defined name - as window shows active tab's title as its own title, now we will see user-defined name as a title for a window in Taskbar - as soon as tab loses focus inside Chrome window, its title changes back to what it was befor and newly activated tab takes user-defined name as title. – jungle_mole – 2015-12-29T01:27:23.660

Ah ok. So definitely I prefer the SSB way then. It's not perfect of course, mainly because then it becomes a bit of work to sync things like favorites and extensions. But at least it's a decent way to make things sticky, so it's still my preferred workaround. – deryb – 2015-12-29T02:02:47.120

@brunod is it worth trouble? o_O – jungle_mole – 2015-12-29T02:16:30.407

I think so... Depends how computer savvy you are, but I think it's worth it... On mac, I went the SSB way about a year ago, using an app called Fluid, which makes an SSB based on safari. But I hate safari, so I didn't like this solution, still there was no other way so I stuck with it for a few months. Then last summer I stumbled on a similar app to generate a chrome-based SSB called epichrome. On windows there must be equivalents for sure... I have about 5 different SSBs running all the time, along with chrome. Works great!

– deryb – 2015-12-29T21:22:06.757

@bruno_d hi again. you've mentioned in your answer update that "it's possible to create some custom URL rules". how is this achieved? also, i'm now on the way (just starting, actually, but i'm pretty confident i can achieve a goal) to releasing a truly comprehensive solution to the problem (incl. a bunch of handy bonuses). too bad i still hate JS, but whatever. – jungle_mole – 2017-06-06T13:57:07.737

@ jungle_mole I've added that detail. It's called Choosy, decently does the job of providing a popup menu where you can choose which SSB to open a given link with (quite customizable) and also handles URL rules (ex open all mailto links in Gmail SSB). To be honest that part never really worked for me though, but so many variables I'm not sure why (old OSX, now on Ubuntu since a week). ;-) – deryb – 2017-07-05T17:54:20.797

2

Add Session Buddy extension. Open a chrome window. Add a group of related tabs to the window. Go into SB. Find the "Window" with the tabs that you had added. Right click, "Save" and give the session a name. Look at the list of "Sessions" in the left column.

james

Posted 2015-04-30T16:04:04.107

Reputation: 21

Yes, it's become a staple of my browser setup. I use it to save some browsing sessions (and close, for later), and to have better backups of all open tabs than Chrome's built-in default. – deryb – 2020-02-23T15:05:08.443

0

Consider Tab Modifer and Open Tabs which lets you see all opened tabs in all windows.

Syl

Posted 2015-04-30T16:04:04.107

Reputation: 101

1

Please read How do I recommend software for some tips as to how you should go about recommending software. You should provide at least a link, some additional information about the software itself, and how it can be used to solve the problem in the question.

– DavidPostill – 2016-11-17T00:04:32.370

0

My setup has changed a few times, but I stuck with Chrome, and now back to Windows 10 after a few years of Mac. There are good alternatives to Chrome, but I didn't feel the need so compelling to switch yet, so Chrome's still what I use.

Currently, I simply rely on a few profiles to manage my different browsing needs, and to avoid overcrowding with too many windows & tabs, extensions, history, etc. Most have a dedicated Google account created for using the sync feature and to have it on the cloud (tabs, history, extensions, settings, etc). One's for day to day, others for my job, etc.

There is no real proper answer to my question, but a some extensions help overcoming too many tabs & identifying windows / naming them. To help this, here are a few extensions:

  • Spaces: interesting but perhaps a bit limited. I tried it shortly, should perhaps give it another go to compare.
  • Tabli is an interesting tab search + switcher. It's my tab manager for now...
  • ...

This answer is mostly a draft, I'll try to clean this whole Q&A later.

deryb

Posted 2015-04-30T16:04:04.107

Reputation: 513