It’s very common for news articles to contain links to Twitter. Some lazy writers even create articles that are nothing but a page of Twitter embeds.
I think Twitter is trash and never want to visit the site, and sometimes it’s not obvious that a link ends up on Twitter, especially with the widespread use of URL shorteners on the web.
I found a quick solution that works well via a plugin called BlockSite. I use both Firefox and Chrome, and it’s available for both.
There’s a lot more to it than just blocking garbage sites like Twitter, including things like setting up distraction-free hours to block social media during your workday, so check out their website for more info.
Here’s an example of the plugin preventing a visit:

BlockSite Plugin Preventing Twitter Access