by nine_k · 4y ago · 0 comments
Also, timeboxing things helps. It's hard to work on one thing indefinitely, it can even induce panic. But if you're using something like the pomodoro technique, you know that when you're feeling a craving to switch, you have, say, 27 minutes left until the next break. It's observable and manageable; you can concentrate during this time, knowing that a relief is nearing. But the relief (like going for more tea / coffee / etc) is also timeboxed, so you don't get distracted forever.
In Firefox, you can set browser.tabs.tabMinWidth to a large number in about:config, so that fewer open tabs are visible at once, which may reduce distractions.
Or (slightly more complicated) you can keep a fixed number of tabs visible irrespective of window width, by using userChrome.css to apply a style like `tab:not([pinned=true]) {min-width: calc((100vw - 12em) / 3) !important;}`
Reading the manual used to be part of an IT job. And for web devs, having a local sandbox is invaluable.