See comments section for more up-to-date versions of the script. The original script is from 2014 and will not work as is.
- Open news feed preferences on your Facebook menu (browser)
- Click people or pages
- Scroll down (or click see more) until your full list is loaded
- Run the script in your browser console
Facebook will block this feature for you while you use it, depending on how much entities you try to unfollow. It automatically unblocks in a couple of hours and you will be able to continue.




My page is in English.
I entered [https://www.facebook.com/{USER}/following], then I pressed F12, click Console, it then popped up as follows (read link appears as follows):-
Then, I tried to enter
"document.querySelectorAll('[aria-label="Toggle to follow"]').forEach(i=>i.click())"
But still appears what shown as follows:-
I even tried every single comment mentioned above but none of it was unable to allow me to unfollow everyone, all at once.
It might take me hours if I have to unfollow everyone, one by one.