Skip to content

Instantly share code, notes, and snippets.

@e11world
e11world / edge_discard_tabs.js
Created April 9, 2025 20:17 — forked from gexgd0419/edge_discard_tabs.js
Microsoft Edge: Discard / freeze all background tabs
// For tab hoarders using Microsoft Edge (this might work on other Chromiums, but I haven't tested)
// who keep so many tabs that even edge://discards/ page becomes unresponsive.
// Can discard/freeze all background hidden tabs. Foreground (visible) tabs, tabs playing audio,
// and tabs in the "Never put these sites to sleep" list will not be discarded/frozen.
// In the address bar, enter: edge://discards/discards.js
// Then open DevTools (Ctrl+Shift+I or F12), go to Console, and paste the following code.
await (async () => {
// To freeze tabs, set to false; to discard tabs, set to true
Sublime Text 2 - Useful Shortcuts
=================================
*Tested in Windows: Crtl == command*
Open/Goto
_________
- Crtl+p: go to file
- Crtl+r: go to function/methods
- Crtl+shift+p: command palette
Sublime Text 2 - Useful Shortcuts
=================================
*Tested in Windows: Crtl == command*
Open/Goto
_________
- Crtl+p: go to file
- Crtl+r: go to function/methods
- Crtl+shift+p: command palette
Sublime Text 2 - Useful Shortcuts
=================================
*Tested in Windows: Crtl == command*
Open/Goto
_________
- Crtl+p: go to file
- Crtl+r: go to function/methods
- Crtl+shift+p: command palette