Automatically dismiss the liked song notification after some seconds
This is a simple script which dismisses youtube music notifications after some delay and deletes the notifications, since this is something that is not done by default by youtube (notifications lingering forever).
Handles various notification types, easily configurable, has robust error checking, simulates dismissal by finding the dismiss button element, simulating the click, and then returns focus to the element that was focus before the element dismissal clicking action was simulated.