My latest favorite browser tool is Stay Free. In addition to outright blocking a myriad of domains to avoid distraction and doomscrolling, I also am a big fan of their Limits on the Go mode. Websites on this list will prompt you for a session-specific time limit each time you visit that site.

A settings menu displays options to block further usage after a specified time limit with fields for hours, minutes, and seconds.