Facebook no ads

Makes sponsored feeds invisible on facebook.com

< 脚本Facebook no ads的反馈

提问/评论

§
发表于:2020-09-15

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

发表回复

登录以发表回复。