Chrome kinda already have this built-in, it is called Memory Saver under the Chrome Settings[0].<p>This is its description directly from Chrome Browser: "Memory Saver - When on, Chrome frees up memory from inactive tabs. This gives active tabs and other apps more computer resources and keeps Chrome fast. Your inactive tabs automatically become active again when you go back to them."<p>You can also whitelist Tabs/Websites: "Always keep these sites active:
Sites you add will always stay active and memory won't be freed up from them"<p>I understand that this extension frees up CPU and memory from sites that might be unoptimized and/or malicious but if you have Memory Saver turned on, it will free up everything except as they say, tabs that have[0]:<p>Active audio or video (playback or calls),
Screen share,
Page notifications,
Active downloads,
Partially filled forms,
Pinned tabs,
Connected devices (USB or Bluetooth)<p>[0] <a href="https://support.google.com/chrome/answer/12929150?visit_id=638386796656839023-4121241267&p=chrome_memory_saver&rd=1#memory_saver&zippy=%2Cturn-memory-saver-on-or-off" rel="nofollow noreferrer">https://support.google.com/chrome/answer/12929150?visit_id=6...</a>