Hacker News new | ask | show | jobs
by 2OEH8eoCRo0 1259 days ago
My solution is to shutdown my PCs every day.
2 comments

Doesn't work for me, Firefox restores tabs from before restart. I could turn it off, but it invariably comes helpful for when Firefox (or the PC) crashes.

My current solution is that, through a stroke of luck and a lot of pent up frustration, I've managed to habituate the following behavior:

WHEN I notice I've been procrastinating for too long, OR I'm getting anxious about so many "open loops" in the browser, OR I lose track of specific tabs I know are open and spend more than two seconds looking for it, THEN I find the last Actually Important tab (usually somewhere between the third and the tenth from the left), right-click on it, select "close tabs to the right", and confirm the closure of 100-200 tabs.

I do this a few times on a typical week; because its habituated, I do it fast enough that the FOMO of "but I actually wanted to read that, and that, and that" doesn't have time to kick in.

I do this as well.

I have a Python script which I can use to kill all chrome.exe so that next time the machine boots, chrome offers me to restore the tabs which where open before the crash.

I only use this when I know that the tabs are really important and I need to continue using them the next day. Else Chrome starts with a single custom startpage which contains links and as well as views to Jira projects (like a to-do list via the Jira API). And during the day I bookmark all tabs I find important and clean up. But it's usually around 4 windows with each around 10 - 20 tabs which accumulate during the day, in addition to dedicated browser profiles which serve specific purposes, like email or developer consoles.

I do the same thing without Python. ctrl + shift + t opens previous tabs and windows.