Coding in JS, sometimes I goof up & creates an infinite loop. Other times, I hit a debugger
inside a loop & I can't refresh quickly because the code has to finish running before the refresh occurs. Whatever the case, it is often times faster to crash the tab & then refresh.
chrome://crash
or chrome://kill
doesn't work if a long-running process is executing, although it does work if I'm stuck at debugger
How can I achieve a keyboard shortcut to crash & refresh the current tab? native, 3rd party extensions, apps for OSX are fair game. Chrome version 44.
On Windows & Linux, press Ctrl + w. On a Mac, press ⌘ + w.
Quit Google Chrome.Mac: Hold Command and press Q. Windows PC & Linux: Hold Ctrl and Shift and press Q.
On your keyboard, you can hit Command+Shift+T (on Mac) or Ctrl+Shift+T (on Windows). Doing this once will bring up your most recently closed tab, doing so again will bring back the penultimate one and so on. Alternatively, you can right click on the tab menu bar area and select reopen closed tab.
A bit of an expansion on the previous answer:
Use System Preferences to link a keyboard shortcut to the "Task Manager" menu command (System Preferences > Keyboard > Shortcuts > App Shortcuts), since the Shift + Esc shortcut doesn't apply to Macs (at least not as of writing this post).
After that, you can use that keyboard shortcut in Chrome to pull up the Task Manager, where you can choose the unresponsive tab and select End Process
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With