NB: as of 16 April 2023, I no longer use Facebook. Never. SO, this gist is discontinued.
Latest update was at 12 Jul 2023
**Overview of the problem:**
Usually when you open Facebook main page facebook.com,
you suddenly find that you have wasted some time just scrolling endless stories and|or posts.
then you wish that you had not wasted your precious time like that.
one day, I was like you. then I decided that I will NOT scroll Facebook again.
but, the problem simply is that I can't hold my self.
I say "this is the last post I see today". then I scroll to the next. then to the next... etc
until I find my self losing precious time that I could have at least spent it on something more fun ,a movie for example.
so, here is the solution:
I wrote CSS & JS code to hide that crap so that I wont fall for that scrolling bait.
instead, I can continue to the place that I initially opened Facebook for
,eg: a specific Facebook page that I wanna see its updates
or a friend that I wanna chat with.
instead of just scroll and keep scrolling until I forget the reason why I opened facebook.com
Solution:
1 - install an Extension for your web browser that enables you to write custom JS and CSS code for websites.
I use this Extension for Brave browser : user-javascript-and-css
2 - copy the above CSS and JS code to the Extension and target https://w*.facebook.com/*
NB: I update this gist regularly to get it working with each new facebook update
so if it does not work for you, wait for my update.
Latest update is at 5 Feb 2023.
Give this gist a star ๐ to tell me you are interested
Result ๐: