Issue #65 (Randomness to Fight Procrastination) 05/11/20
If you're a web developer who's constantly opening Chrome's developer tools, you might benefit from a tip that Addy Osmani posted recently. He describes a way to have the DevTools open automatically in every new tab that's opened in Chrome (and I assume this works for any Chromium-based browser).
You simply pass the following flag when running a command to open the browser:
--auto-open-devtools-for-tabs
On Mac you can do this via the terminal by running something like the following (depending on your system):
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --auto-open-devtools-for-tabs
On Windows it's much easier to tie the flag directly into your shortcut. If your browser shortcut is on your taskbar, hold SHIFT and right-click the shortcut. Choose "Properties" then, in the "Shortcut" tab, change the "Target" to include the flag after the quoted path:
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --auto-open-devtools-for-tabs
|
Adding a flag to Chrome's shortcut to open DevTools in every new tab
You can also use the run box in Windows to execute the same command. As long as your system is remembering previous run commands you'll be able to access it each time you want to open your browser. And again, this isn't just for when the browser initially opens, but for every new tab you open.
Not a tip for everyone, but definitely one you'll want to consider if you more or less live in DevTools.
Now on to this week's hand-picked productivity links!