I've been using an extension called News Feed Eradicator for like years now and its great! I was thinking of editing the code to put up like a math equation every time I need to disable it, but not sure if its open source. Seems like this tool might work!
News Feed Eradicator is open source:
https://github.com/jordwest/news-feed-eradicator/
(and indeed great)