Nitter is an Open Source alternative front end for Twitter that requires zero Javascript to run, and it's really good, and is way nicer than Twitter's own UI, and yall should use it. I see Twitter threads hosted on HN all the time, and I kind of wish more of the posters would link to Nitter's public-facing instance instead of Twitter. I think its interface is just objectively better than Twitter's for browsing.
Invidious is an Open Source alternative to Youtube that is also really good and requires zero Javascript, but unfortunately it suffers from a lot of performance problems and videos will occasionally refuse to load -- Youtube is I think more hostile about throttling/blocking that kind of stuff, and proxying videos is probably harder than proxying tweets. You can donate to Invidious though, which might help them afford more powerful hardware.
In regards to Medium -- if you disable Javascript those popups will all vanish, and for the most part all you'll be missing out on is comments and occasionally a lazy-loaded image. It's amazing how much of the web (particularly news) works fine without Javascript, and getting rid of it gets rid of a lot of these annoying popups and requests. Use uMatrix, it makes it really easy to turn Javascript off by default and whitelist as necessary. And every person who disables Javascript is one more tiny audience metric to make it ever-so-slightly harder for news sites to ignore progressive enhancement.