I created a small script what you can inject the code in the browsers Console.
When you’re on Facebook.com you can Inspect code and head to Console.
Copy/Past the code in the Console and press Enter
Javascript
const hideSponsored = () =>
document.querySelectorAll('[role="feed"] [data-pagelet]').forEach(el => {
let spEl = el.querySelector('[aria-label="Sponsored"]')
if (spEl !== null) el.style.display = 'none'
})
const enabledSponsorRemoverFromFeed = () => {
let d = document,
postFeed = d.querySelector('[role="feed"]'),
postFeedObserver = new MutationObserver(
mutations => mutations && hideSponsored()
)
postFeed &&
postFeedObserver.observe(postFeed, {
childList: true
})
}
enabledSponsorRemoverFromFeed()
hideSponsored()
I might make Chrome plugin for it, unless you can make it your own.
Bookmark Javascript Inject
Name:
Facebook - Hide Sponsored Feeds
URL:
javascript:(()=>{const e=()=>document.querySelectorAll('[role="feed"] [data-pagelet]').forEach(e=>{null!==e.querySelector('[aria-label="Sponsored"]')&&(e.style.display="none")});(()=>{let l=document.querySelector('[role="feed"]'),o=new MutationObserver(l=>l&&e());l&&o.observe(l,{childList:!0})})(),e()})();