Put any tab on a sleep timer to close or mute the tab when the timer expires.
This is a fix for Tab Sleep Timer by Daniel de Haas which has a bug that causes the add-on to stop working if a timer is ever cancelled. This bug also exists in the Firefox version of the add-on. The original add-on has not been updated for months as of the time I am writing this, so I am assuming it may be abandoned and I decided to offer this fix. If the author fixes his version I will remove this one.
- (2021-09-09) Ann Wagoner: This one actually works instead of crashing.