Greasy Fork is available in English.
Makes sponsored feeds invisible on facebook.com
< Opinie na Facebook no ads
I think I found a new method that does the job:const removeAdsNew = () => { let list = document.querySelectorAll(`[aria-label="Sponsored"]`); for (let el of list) { let story = el.closest('[data-pagelet]'); story.remove(); }}then I use it with const throttleKill = throttle(removeAdsNew, 50);and that seems to work so far
Zaloguj się, by odpowiedzieć.
I think I found a new method that does the job:
const removeAdsNew = () => {
let list = document.querySelectorAll(`[aria-label="Sponsored"]`);
for (let el of list) {
let story = el.closest('[data-pagelet]');
story.remove();
}
}
then I use it with
const throttleKill = throttle(removeAdsNew, 50);
and that seems to work so far