Just FYI, edge supports this natively in the latest version. I've completely switched over after Google's last few rounds of questionable behavior.
https://blogs.windows.com/msedgedev/2020/12/09/sleeping-tabs...
https://blogs.windows.com/msedgedev/2020/12/09/sleeping-tabs...