"No Distractions" for Facebook is a Safari extension that makes the layout of Facebook less distracting:
On the home page, it removes the posting prompt, stories, newsfeed, sidebar, sponsored posts. It also removes the 'Gaming' link in the menu.
This gives you a minimalistic Facebook experience, which makes it easier to control how you use the site:
Do that thing you intended to do, instead of getting distracted by, e.g., viral videos on the newsfeed!
This extension is open source - you can find the source code on https://github.com/ulyngs/open-source-no-distractions-for-fb